summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-05 15:04:20 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-05 15:04:20 +0200
commit0c15e5feb333b88b5a5a525d588601d381df654c (patch)
tree9f0698d3c7632b32af8d87cb4d2bb45ca94e6504 /system.h
parent729aac4d7afb44c7c058c32d0fbc4956e029beab (diff)
downloadrpm-0c15e5feb333b88b5a5a525d588601d381df654c.tar.gz
rpm-0c15e5feb333b88b5a5a525d588601d381df654c.tar.bz2
rpm-0c15e5feb333b88b5a5a525d588601d381df654c.zip
Include <stdlib.h> as necessary instead of system.h
- also loose the related ancient compatibility goo
Diffstat (limited to 'system.h')
-rw-r--r--system.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/system.h b/system.h
index 6d84f0cc8..a6e585e64 100644
--- a/system.h
+++ b/system.h
@@ -58,20 +58,6 @@ extern int errno;
#define getenv(_s) __secure_getenv(_s)
#endif
-#ifdef STDC_HEADERS
-/* FIX: shrug */
-#define getopt system_getopt
-#include <stdlib.h>
-#undef getopt
-#else /* not STDC_HEADERS */
-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