diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/ar.c | 4 | ||||
-rw-r--r-- | archival/dpkg_deb.c | 3 | ||||
-rw-r--r-- | archival/gzip.c | 1 | ||||
-rw-r--r-- | archival/tar.c | 3 |
4 files changed, 11 insertions, 0 deletions
diff --git a/archival/ar.c b/archival/ar.c index 596574e6a..550b2a1c4 100644 --- a/archival/ar.c +++ b/archival/ar.c | |||
@@ -23,6 +23,10 @@ | |||
23 | * | 23 | * |
24 | */ | 24 | */ |
25 | #include <fcntl.h> | 25 | #include <fcntl.h> |
26 | #include <string.h> | ||
27 | #include <stdlib.h> | ||
28 | #include <getopt.h> | ||
29 | #include <unistd.h> | ||
26 | #include "busybox.h" | 30 | #include "busybox.h" |
27 | 31 | ||
28 | typedef struct ar_headers_s { | 32 | typedef struct ar_headers_s { |
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c index 35904950f..3a789379b 100644 --- a/archival/dpkg_deb.c +++ b/archival/dpkg_deb.c | |||
@@ -17,6 +17,9 @@ | |||
17 | #include <stdio.h> | 17 | #include <stdio.h> |
18 | #include <stdlib.h> | 18 | #include <stdlib.h> |
19 | #include <fcntl.h> | 19 | #include <fcntl.h> |
20 | #include <unistd.h> | ||
21 | #include <string.h> | ||
22 | #include <stdlib.h> | ||
20 | #include "busybox.h" | 23 | #include "busybox.h" |
21 | 24 | ||
22 | typedef struct ar_headers_s { | 25 | typedef struct ar_headers_s { |
diff --git a/archival/gzip.c b/archival/gzip.c index 09260929e..5a74868c1 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -45,6 +45,7 @@ | |||
45 | */ | 45 | */ |
46 | #include <stdio.h> | 46 | #include <stdio.h> |
47 | #include <string.h> | 47 | #include <string.h> |
48 | #include <unistd.h> | ||
48 | #define memzero(s, n) memset ((void *)(s), 0, (n)) | 49 | #define memzero(s, n) memset ((void *)(s), 0, (n)) |
49 | 50 | ||
50 | #ifndef RETSIGTYPE | 51 | #ifndef RETSIGTYPE |
diff --git a/archival/tar.c b/archival/tar.c index 51a857d71..2c7169bcc 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -52,6 +52,9 @@ | |||
52 | #include <sys/sysmacros.h> | 52 | #include <sys/sysmacros.h> |
53 | #include <getopt.h> | 53 | #include <getopt.h> |
54 | #include <fnmatch.h> | 54 | #include <fnmatch.h> |
55 | #include <string.h> | ||
56 | #include <stdlib.h> | ||
57 | #include <unistd.h> | ||
55 | 58 | ||
56 | #ifdef BB_FEATURE_TAR_GZIP | 59 | #ifdef BB_FEATURE_TAR_GZIP |
57 | extern int unzip(int in, int out); | 60 | extern int unzip(int in, int out); |