summaryrefslogtreecommitdiffstats
path: root/lib/argmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/argmatch.c')
-rw-r--r--lib/argmatch.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/argmatch.c b/lib/argmatch.c
index da664ef..f6ff44f 100644
--- a/lib/argmatch.c
+++ b/lib/argmatch.c
@@ -21,7 +21,6 @@
#include "argmatch.h"
#include <stdio.h>
-#include <stdlib.h>
#ifdef STDC_HEADERS
# include <string.h>
#endif
@@ -36,14 +35,7 @@
#endif
#include "error.h"
-
-/* The following test is to work around the gross typo in
- systems like Sony NEWS-OS Release 4.0C, whereby EXIT_FAILURE
- is defined to 0, not 1. */
-#if !EXIT_FAILURE
-# undef EXIT_FAILURE
-# define EXIT_FAILURE 1
-#endif
+#include "exit.h"
/* Non failing version of argmatch call this function after failing. */
#ifndef ARGMATCH_DIE