1
0
forked from bonsai/harakit

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

This commit is contained in:
dtb 2023-12-25 15:58:24 -07:00
parent 52d150b02b
commit d4ee9bb93b
Signed by untrusted user: trinity
GPG Key ID: 31FF85CCB6DC7641

View File

@ -20,9 +20,10 @@
#include <ctype.h> #include <ctype.h>
#include <stddef.h> /* NULL */ #include <stddef.h> /* NULL */
#include <stdio.h> /* fprintf(3) */ #include <stdio.h> /* fprintf(3) */
#include <stdlib.h> /* EXIT_FAILURE */
#include <string.h> /* strcmp(3) */ #include <string.h> /* strcmp(3) */
#if !defined EX_USAGE #if !defined EX_USAGE
# include <sysexits.h> # define EX_USAGE EXIT_FAILURE
#endif #endif
static char *program_name = "str"; static char *program_name = "str";