summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'system.h')
-rw-r--r--system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/system.h b/system.h
index 82e89ac79..677108091 100644
--- a/system.h
+++ b/system.h
@@ -112,6 +112,11 @@ extern int errno;
char *getenv (const char *name);
#endif /* STDC_HEADERS */
+/* XXX solaris2.5.1 has not */
+#if !defined(EXIT_FAILURE)
+#define EXIT_FAILURE 1
+#endif
+
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#else