forked from bonsai/harakit
scrut(1): without <sysexits.h> fall back to ANSI C
This commit is contained in:
parent
1bc574eafa
commit
52d150b02b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user