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