summaryrefslogtreecommitdiff
path: root/lib/argmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/argmatch.c')
-rw-r--r--lib/argmatch.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/argmatch.c b/lib/argmatch.c
index 398363252..86a01eb5b 100644
--- a/lib/argmatch.c
+++ b/lib/argmatch.c
@@ -35,6 +35,7 @@
#define _(msgid) gettext (msgid)
#include "error.h"
+#include "exit.h"
#include "quotearg.h"
#include "quote.h"
#include "unlocked-io.h"
@@ -46,10 +47,6 @@
# define ARGMATCH_QUOTING_STYLE locale_quoting_style
#endif
-#ifndef EXIT_FAILURE
-# define EXIT_FAILURE 1
-#endif
-
/* Non failing version of argmatch call this function after failing. */
#ifndef ARGMATCH_DIE
# define ARGMATCH_DIE exit (EXIT_FAILURE)