1
0
Fork 0

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
1 changed files with 2 additions and 1 deletions

View File

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