aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
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 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>