GNUmakefile, intcmp(1), npc(1), scrut(1), str(1), strcmp(1), include/sysexits.h: added fallback header file for when systems don’t have sysexits.h(3)

This commit is contained in:
2023-12-25 20:49:29 -07:00
parent 74d5b65f78
commit 94ba336ee4
7 changed files with 50 additions and 24 deletions

View File

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