summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-12-13 03:14:06 +0000
committerdelphij <delphij@FreeBSD.org>2009-12-13 03:14:06 +0000
commit0842b7d53ffede64468e775f5c79965e3d9e48ae (patch)
treeec0e60a06ede057b5afe3f1a6eccc05036f5c424 /usr.bin/find
parent7510724a04e34e0c4cdf7551cd6e74fb053368e8 (diff)
downloadFreeBSD-src-0842b7d53ffede64468e775f5c79965e3d9e48ae.zip
FreeBSD-src-0842b7d53ffede64468e775f5c79965e3d9e48ae.tar.gz
Revert most part of 200420 as requested, as more review and polish is
needed.
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/find.c1
-rw-r--r--usr.bin/find/getdate.y1
-rw-r--r--usr.bin/find/ls.c1
-rw-r--r--usr.bin/find/main.c1
-rw-r--r--usr.bin/find/misc.c1
-rw-r--r--usr.bin/find/option.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/find/find.c b/usr.bin/find/find.c
index 3171f8b..cc2d797 100644
--- a/usr.bin/find/find.c
+++ b/usr.bin/find/find.c
@@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$");
#include <fts.h>
#include <regex.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "find.h"
diff --git a/usr.bin/find/getdate.y b/usr.bin/find/getdate.y
index 0a7ab21..de7750c 100644
--- a/usr.bin/find/getdate.y
+++ b/usr.bin/find/getdate.y
@@ -15,6 +15,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <stdio.h>
#include <ctype.h>
/* The code at the top of get_date which figures out the offset of the
diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c
index 7b9d88f..88e4593 100644
--- a/usr.bin/find/ls.c
+++ b/usr.bin/find/ls.c
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
+#include <errno.h>
#include <fts.h>
#include <grp.h>
#include <inttypes.h>
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index 9a0b9ce..8e2b42c 100644
--- a/usr.bin/find/main.c
+++ b/usr.bin/find/main.c
@@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
+#include <errno.h>
#include <fcntl.h>
#include <fts.h>
#include <locale.h>
diff --git a/usr.bin/find/misc.c b/usr.bin/find/misc.c
index 8fda57c..1532906 100644
--- a/usr.bin/find/misc.c
+++ b/usr.bin/find/misc.c
@@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
+#include <errno.h>
#include <fts.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c
index 6c76bbf..7d06c91 100644
--- a/usr.bin/find/option.c
+++ b/usr.bin/find/option.c
@@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <fts.h>
#include <regex.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
OpenPOWER on IntegriCloud