aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cat.c1
-rw-r--r--coreutils/df.c1
-rw-r--r--coreutils/du.c3
-rw-r--r--coreutils/head.c1
-rw-r--r--coreutils/sort.c1
-rw-r--r--coreutils/uname.c1
-rw-r--r--coreutils/wc.c1
7 files changed, 8 insertions, 1 deletions
diff --git a/coreutils/cat.c b/coreutils/cat.c
index 3554008f8..aa8528d6a 100644
--- a/coreutils/cat.c
+++ b/coreutils/cat.c
@@ -22,6 +22,7 @@
*/
#include <stdlib.h>
+#include <string.h>
#include "busybox.h"
extern int cat_main(int argc, char **argv)
diff --git a/coreutils/df.c b/coreutils/df.c
index 485076f90..776fceb28 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <mntent.h>
#include <sys/vfs.h>
#include <getopt.h>
diff --git a/coreutils/du.c b/coreutils/du.c
index 17ecfdeac..7cb888de8 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
+#include <string.h>
#include <errno.h>
#include "busybox.h"
#define BB_DECLARE_EXTERN
@@ -196,7 +197,7 @@ int du_main(int argc, char **argv)
return status;
}
-/* $Id: du.c,v 1.42 2001/03/07 17:42:07 markw Exp $ */
+/* $Id: du.c,v 1.43 2001/03/09 14:36:42 andersen Exp $ */
/*
Local Variables:
c-file-style: "linux"
diff --git a/coreutils/head.c b/coreutils/head.c
index c683ec78a..fac9ec659 100644
--- a/coreutils/head.c
+++ b/coreutils/head.c
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <getopt.h>
#include <stdlib.h>
+#include <string.h>
#include "busybox.h"
int head(int len, FILE *fp)
diff --git a/coreutils/sort.c b/coreutils/sort.c
index ed6872218..79e629c75 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -22,6 +22,7 @@
*/
#include <getopt.h>
+#include <string.h>
#include <stdlib.h>
#include "busybox.h"
diff --git a/coreutils/uname.c b/coreutils/uname.c
index 4931ff1d8..f7e2291a8 100644
--- a/coreutils/uname.c
+++ b/coreutils/uname.c
@@ -33,6 +33,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/utsname.h>
diff --git a/coreutils/wc.c b/coreutils/wc.c
index f2d33d6f3..5472c3070 100644
--- a/coreutils/wc.c
+++ b/coreutils/wc.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <getopt.h>
+#include <string.h>
#include <stdlib.h>
#include "busybox.h"