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 /rpmio | |
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 'rpmio')
-rw-r--r-- | rpmio/argv.c | 1 | ||||
-rw-r--r-- | rpmio/rpmlog.c | 1 | ||||
-rw-r--r-- | rpmio/rpmmalloc.c | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/rpmio/argv.c b/rpmio/argv.c index 7a1aa5d5a..d63346269 100644 --- a/rpmio/argv.c +++ b/rpmio/argv.c @@ -4,6 +4,7 @@ #include "system.h" +#include <stdlib.h> #include <rpm/argv.h> #include <rpm/rpmstring.h> diff --git a/rpmio/rpmlog.c b/rpmio/rpmlog.c index d28876765..8023d5c44 100644 --- a/rpmio/rpmlog.c +++ b/rpmio/rpmlog.c @@ -4,6 +4,7 @@ #include "system.h" #include <stdarg.h> +#include <stdlib.h> #include <rpm/rpmlog.h> #include "debug.h" diff --git a/rpmio/rpmmalloc.c b/rpmio/rpmmalloc.c index fd93cbc2b..eec73ed8a 100644 --- a/rpmio/rpmmalloc.c +++ b/rpmio/rpmmalloc.c @@ -4,9 +4,7 @@ #include "system.h" -#if HAVE_MALLOC_H -#include <malloc.h> -#endif +#include <stdlib.h> #include "debug.h" |