summaryrefslogtreecommitdiff
path: root/rpmio/rpmmalloc.c
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/rpmmalloc.c
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/rpmmalloc.c')
-rw-r--r--rpmio/rpmmalloc.c4
1 files changed, 1 insertions, 3 deletions
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"