summaryrefslogtreecommitdiff
path: root/lib/obstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/obstack.c')
-rw-r--r--lib/obstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/obstack.c b/lib/obstack.c
index 1e36c4a0a..1ff415561 100644
--- a/lib/obstack.c
+++ b/lib/obstack.c
@@ -85,7 +85,7 @@ void (*obstack_alloc_failed_handler) () = print_and_abort;
#endif
/* Exit value used when `print_and_abort' is used. */
-#if defined (__STDC__) && __STDC__
+#if defined __GNU_LIBRARY__ || defined HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifndef EXIT_FAILURE