summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorEric Andersen2004-03-27 11:26:32 +0000
committerEric Andersen2004-03-27 11:26:32 +0000
commit8ee2b27f0c84fc52ff56cf1c9b7819798b7197b5 (patch)
tree372abe380958169583f527a0513aa584c94adc2c /libbb
parentea9bcda3730b6403fd3ed23670ce818b6926ae67 (diff)
downloadbusybox-8ee2b27f0c84fc52ff56cf1c9b7819798b7197b5.zip
busybox-8ee2b27f0c84fc52ff56cf1c9b7819798b7197b5.tar.gz
Add missing include files
Diffstat (limited to 'libbb')
-rw-r--r--libbb/dump.c1
-rw-r--r--libbb/print_file.c1
2 files changed, 2 insertions, 0 deletions
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)