summaryrefslogtreecommitdiff
path: root/rpmio
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 /rpmio
parent729aac4d7afb44c7c058c32d0fbc4956e029beab (diff)
downloadlibrpm-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.c1
-rw-r--r--rpmio/rpmlog.c1
-rw-r--r--rpmio/rpmmalloc.c4
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"