diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-01-05 15:04:20 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-01-05 15:04:20 +0200 |
commit | 0c15e5feb333b88b5a5a525d588601d381df654c (patch) | |
tree | 9f0698d3c7632b32af8d87cb4d2bb45ca94e6504 /system.h | |
parent | 729aac4d7afb44c7c058c32d0fbc4956e029beab (diff) | |
download | rpm-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.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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 |