summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-29 20:17:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-29 20:17:44 +0200
commitda3e91c4cbff54f9bd01031d5a265e0bd0524e5d (patch)
tree8a77bb43dd3f859ac2e319c2d79575031fc69382
parentd401a2e1908ba2c1d2fad379eb9d3bf268c3fb50 (diff)
remove malloc.h includes, fix FreeBSD compile
-rw-r--r--tools/cpio/src/cpio.c1
-rw-r--r--tools/cpio/src/ib_alloc.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/tools/cpio/src/cpio.c b/tools/cpio/src/cpio.c
index 1300d2d70..00f4a16b7 100644
--- a/tools/cpio/src/cpio.c
+++ b/tools/cpio/src/cpio.c
@@ -49,7 +49,6 @@
#include <sys/wait.h>
#include <fcntl.h>
#include <stdlib.h>
-#include <malloc.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
diff --git a/tools/cpio/src/ib_alloc.c b/tools/cpio/src/ib_alloc.c
index 338d0622b..4020940ce 100644
--- a/tools/cpio/src/ib_alloc.c
+++ b/tools/cpio/src/ib_alloc.c
@@ -28,7 +28,6 @@
#include <string.h>
#include <errno.h>
#include <stdlib.h>
-#include <malloc.h>
#include "memalign.h"
#include "iblok.h"