summaryrefslogtreecommitdiff
path: root/tools/cpio/src/cpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cpio/src/cpio.c')
-rw-r--r--tools/cpio/src/cpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cpio/src/cpio.c b/tools/cpio/src/cpio.c
index 8e81a9819..9b3c6eee6 100644
--- a/tools/cpio/src/cpio.c
+++ b/tools/cpio/src/cpio.c
@@ -49,6 +49,7 @@
#include <sys/wait.h>
#include <fcntl.h>
#include <stdlib.h>
+#include <malloc.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>