aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-06-29 18:59:32 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-06-29 18:59:32 +0000
commita2949aa217f255341a0507b6e340285bdea1001f (patch)
tree9b51d9d86b8165853b4062470b5fc2074e649195 /archival
parentff9eee475f61800fe33bd60ac12b8b29015cbcdd (diff)
downloadbusybox-a2949aa217f255341a0507b6e340285bdea1001f.tar.gz
Add some missing includes to kill warnings when building with the default
Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
Diffstat (limited to 'archival')
-rw-r--r--archival/libunarchive/decompress_unzip.c1
-rw-r--r--archival/libunarchive/unzip.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c
index 40b8af427..b85eb9981 100644
--- a/archival/libunarchive/decompress_unzip.c
+++ b/archival/libunarchive/decompress_unzip.c
@@ -64,6 +64,7 @@ static char *license_msg[] = {
#include <sys/wait.h>
#include <signal.h>
#include <stdlib.h>
+#include <string.h>
#include "libbb.h"
FILE *in_file, *out_file;
diff --git a/archival/libunarchive/unzip.c b/archival/libunarchive/unzip.c
index 40b8af427..b85eb9981 100644
--- a/archival/libunarchive/unzip.c
+++ b/archival/libunarchive/unzip.c
@@ -64,6 +64,7 @@ static char *license_msg[] = {
#include <sys/wait.h>
#include <signal.h>
#include <stdlib.h>
+#include <string.h>
#include "libbb.h"
FILE *in_file, *out_file;