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 /misc | |
parent | 729aac4d7afb44c7c058c32d0fbc4956e029beab (diff) | |
download | librpm-tizen-0c15e5feb333b88b5a5a525d588601d381df654c.tar.gz librpm-tizen-0c15e5feb333b88b5a5a525d588601d381df654c.tar.bz2 librpm-tizen-0c15e5feb333b88b5a5a525d588601d381df654c.zip |
Include <stdlib.h> as necessary instead of system.h
- also loose the related ancient compatibility goo
Diffstat (limited to 'misc')
-rw-r--r-- | misc/fnmatch.c | 1 | ||||
-rw-r--r-- | misc/glob.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/misc/fnmatch.c b/misc/fnmatch.c index 618317ab5..77fbd93e7 100644 --- a/misc/fnmatch.c +++ b/misc/fnmatch.c @@ -17,6 +17,7 @@ Boston, MA 02111-1307, USA. */ # include "system.h" +# include <stdlib.h> /* Find the first occurrence of C in S or the final NUL byte. */ static inline char * diff --git a/misc/glob.c b/misc/glob.c index 8ba181e4f..be393f8b5 100644 --- a/misc/glob.c +++ b/misc/glob.c @@ -24,6 +24,7 @@ # include "system.h" +# include <stdlib.h> # include <pwd.h> # include <assert.h> |