1
0
Fork 0

scrut(1): without <sysexits.h> fall back to ANSI C

This commit is contained in:
dtb 2023-12-25 15:58:08 -07:00
parent 1bc574eafa
commit 52d150b02b
Signed by untrusted user: trinity
GPG Key ID: 31FF85CCB6DC7641
1 changed files with 2 additions and 1 deletions

View File

@ -17,9 +17,10 @@
*/
#include <stdio.h> /* fprintf(3), stderr, NULL */
#include <stdlib.h> /* EXIT_FAILURE */
#include <string.h> /* strchr(3) */
#ifndef EX_USAGE
# include <sysexits.h>
# define EX_USAGE EXIT_FAILURE
#endif
#include <unistd.h> /* access(3), getopt(3), F_OK, R_OK, W_OK, X_OK */
#include <sys/stat.h> /* lstat(3), stat struct, S_ISBLK, S_ISCHR, S_ISDIR,