summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2004-03-27 11:26:32 +0000
committerEric Andersen2004-03-27 11:26:32 +0000
commit8ee2b27f0c84fc52ff56cf1c9b7819798b7197b5 (patch)
tree372abe380958169583f527a0513aa584c94adc2c
parentea9bcda3730b6403fd3ed23670ce818b6926ae67 (diff)
downloadbusybox-8ee2b27f0c84fc52ff56cf1c9b7819798b7197b5.zip
busybox-8ee2b27f0c84fc52ff56cf1c9b7819798b7197b5.tar.gz
Add missing include files
-rw-r--r--archival/libunarchive/data_extract_to_stdout.c1
-rw-r--r--libbb/dump.c1
-rw-r--r--libbb/print_file.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/archival/libunarchive/data_extract_to_stdout.c b/archival/libunarchive/data_extract_to_stdout.c
index d4137a1..df2bca6 100644
--- a/archival/libunarchive/data_extract_to_stdout.c
+++ b/archival/libunarchive/data_extract_to_stdout.c
@@ -15,6 +15,7 @@
*/
#include "unarchive.h"
+#include <unistd.h>
extern void data_extract_to_stdout(archive_handle_t *archive_handle)
{
diff --git a/libbb/dump.c b/libbb/dump.c
index 52a6c06..7ef5595 100644
--- a/libbb/dump.c
+++ b/libbb/dump.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <ctype.h> /* for isdigit() */
#include "libbb.h"
#include "dump.h"
diff --git a/libbb/print_file.c b/libbb/print_file.c
index 8f85cb4..963db14 100644
--- a/libbb/print_file.c
+++ b/libbb/print_file.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include "libbb.h"
extern void bb_xprint_and_close_file(FILE *file)