summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/obstack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/obstack.c b/lib/obstack.c
index 705c65d4a..bf6bba86c 100644
--- a/lib/obstack.c
+++ b/lib/obstack.c
@@ -82,8 +82,8 @@ void (*obstack_alloc_failed_handler) (void) = print_and_abort;
/* Exit value used when `print_and_abort' is used. */
# include <stdlib.h>
-# ifndef EXIT_FAILURE
-# define EXIT_FAILURE 1
+# ifndef _LIBC
+# include "exit.h"
# endif
int obstack_exit_failure = EXIT_FAILURE;