diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 2000-10-10 01:50:26 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 2000-10-10 01:50:26 +0000 |
commit | eb2fc780273ffdf4b21d6135aa8ec3b986e9c688 (patch) | |
tree | 8432db3aff03ac5dd498b9654f0bae60fffa1eb4 /libexec | |
parent | f35e82dfe3a9ae90b01a027514f854e3150774eb (diff) | |
download | src-eb2fc780273ffdf4b21d6135aa8ec3b986e9c688.tar.gz src-eb2fc780273ffdf4b21d6135aa8ec3b986e9c688.zip |
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
Notes
Notes:
svn path=/head/; revision=66907
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftpd/ftpd.c | 5 | ||||
-rw-r--r-- | libexec/getty/main.c | 1 | ||||
-rw-r--r-- | libexec/rbootd/parseconf.c | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index f4a40aaa7d81..0035051f8533 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 6cd1af834ac2..68adab9049d7 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 21e4c0b1b2a1..bd2f2e1c2f3e 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> |