summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2000-10-10 01:50:26 +0000
committerwollman <wollman@FreeBSD.org>2000-10-10 01:50:26 +0000
commitc5c43ce91fc476c67d622b0ca48e8e25ca653ff6 (patch)
tree6a86f0286158b145d4f10cd2c3b154f913998b9d /libexec
parent62118ce6963d049326bd94cead782dfd91c67b48 (diff)
downloadFreeBSD-src-c5c43ce91fc476c67d622b0ca48e8e25ca653ff6.zip
FreeBSD-src-c5c43ce91fc476c67d622b0ca48e8e25ca653ff6.tar.gz
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c5
-rw-r--r--libexec/getty/main.c1
-rw-r--r--libexec/rbootd/parseconf.c1
3 files changed, 5 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index f4a40aa..0035051 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -51,11 +51,12 @@ static const char rcsid[] =
* FTP server.
*/
#include <sys/param.h>
-#include <sys/stat.h>
#include <sys/ioctl.h>
+#include <sys/mman.h>
#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/wait.h>
-#include <sys/mman.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 6cd1af8..68adab9 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -51,6 +51,7 @@ static const char rcsid[] =
#include <sys/resource.h>
#include <sys/ttydefaults.h>
#include <sys/utsname.h>
+
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/libexec/rbootd/parseconf.c b/libexec/rbootd/parseconf.c
index 21e4c0b..bd2f2e1 100644
--- a/libexec/rbootd/parseconf.c
+++ b/libexec/rbootd/parseconf.c
@@ -54,6 +54,7 @@ static const char rcsid[] =
#include <sys/param.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <ctype.h>
#include <dirent.h>
OpenPOWER on IntegriCloud