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 21:50:45 -07:00
parent 74d5b65f78
commit 94ba336ee4
7 changed files with 50 additions and 24 deletions
+1 -6
View File
@@ -20,12 +20,7 @@
* EOF */
#include <stdlib.h> /* EXIT_FAILURE, EXIT_SUCCESS */
#include <unistd.h> /* getopt(3) */
#if !defined EX_USAGE
# define EX_USAGE EXIT_FAILURE
#endif
#if !defined EX_OK
# define EX_OK EXIT_SUCCESS
#endif
#include <sysexits.h>
int main(int argc, char *argv[]){
int c;