aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-08-10 17:59:11 +0000
committerEric Andersen <andersen@codepoet.org>2000-08-10 17:59:11 +0000
commit88f50b6bf5e79ca9d5f30e5899ace1cbda0950a4 (patch)
tree4871d5fdfd0c601396ef4651c3d1458bedb5a854 /coreutils
parent40406e6bad9abcd58977ed92194c9061d85c9e47 (diff)
downloadbusybox-88f50b6bf5e79ca9d5f30e5899ace1cbda0950a4.tar.gz
Some #include updates.
-Erik
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/date.c1
-rw-r--r--coreutils/df.c1
-rw-r--r--coreutils/ls.c1
-rw-r--r--coreutils/mkfifo.c1
-rw-r--r--coreutils/mknod.c1
-rw-r--r--coreutils/printf.c1
-rw-r--r--coreutils/tail.c1
-rw-r--r--coreutils/test.c1
-rw-r--r--coreutils/touch.c1
9 files changed, 1 insertions, 8 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index e0f0f3129..571a55625 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <time.h>
#include <stdio.h>
+#include <getopt.h>
/* This 'date' command supports only 2 time setting formats,
diff --git a/coreutils/df.c b/coreutils/df.c
index 714c79965..d8f8b7739 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -25,7 +25,6 @@
#include "internal.h"
#include <stdio.h>
#include <mntent.h>
-#include <sys/stat.h>
#include <sys/vfs.h>
extern const char mtab_file[]; /* Defined in utility.c */
diff --git a/coreutils/ls.c b/coreutils/ls.c
index e56e3bcfb..d7455f427 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -50,7 +50,6 @@
#include "internal.h"
# include <sys/types.h>
-#include <sys/stat.h>
#include <stdio.h>
#include <unistd.h>
#include <dirent.h>
diff --git a/coreutils/mkfifo.c b/coreutils/mkfifo.c
index 3db17bbbc..5d4126ac0 100644
--- a/coreutils/mkfifo.c
+++ b/coreutils/mkfifo.c
@@ -23,7 +23,6 @@
#include "internal.h"
#include <stdio.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <errno.h>
extern int mkfifo_main(int argc, char **argv)
diff --git a/coreutils/mknod.c b/coreutils/mknod.c
index b51c8f3e3..b815aa198 100644
--- a/coreutils/mknod.c
+++ b/coreutils/mknod.c
@@ -24,7 +24,6 @@
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
diff --git a/coreutils/printf.c b/coreutils/printf.c
index 6a87fc319..94b809348 100644
--- a/coreutils/printf.c
+++ b/coreutils/printf.c
@@ -51,7 +51,6 @@
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 627373bfd..6c4a6f468 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -32,7 +32,6 @@
*/
#include <sys/types.h>
-#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/coreutils/test.c b/coreutils/test.c
index 818b3db12..6dde718c7 100644
--- a/coreutils/test.c
+++ b/coreutils/test.c
@@ -33,7 +33,6 @@
#include "internal.h"
#include <sys/types.h>
-#include <sys/stat.h>
#include <unistd.h>
#include <ctype.h>
#include <errno.h>
diff --git a/coreutils/touch.c b/coreutils/touch.c
index afdd265f7..464aedb55 100644
--- a/coreutils/touch.c
+++ b/coreutils/touch.c
@@ -25,7 +25,6 @@
#include "internal.h"
#include <stdio.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <fcntl.h>
#include <utime.h>
#include <errno.h>