summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-06-12 22:13:10 +0000
committerjbj <devnull@localhost>2000-06-12 22:13:10 +0000
commitf5e02c8d7a4bcba11154e6d84411ee0037ad3f85 (patch)
treed9243367d1eb40bbd848af99f1246ee4cd58fe15 /system.h
parent1d0544854e923f670b2607c43bfb09aa5cac0440 (diff)
downloadrpm-f5e02c8d7a4bcba11154e6d84411ee0037ad3f85.tar.gz
rpm-f5e02c8d7a4bcba11154e6d84411ee0037ad3f85.tar.bz2
rpm-f5e02c8d7a4bcba11154e6d84411ee0037ad3f85.zip
Solaris2.5.1 has not EXIT_FAILURE.
CVS patchset: 3833 CVS date: 2000/06/12 22:13:10
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