aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-02-25 04:47:39 +0000
committerBruce Evans <bde@FreeBSD.org>2002-02-25 04:47:39 +0000
commit8b179749d832d7ff24df150afb7f5ff50bcb4d15 (patch)
tree925c74017884df2784f042b9c4bea9ed14094a29 /usr.bin
parent0c6ec4aca0a5ee1cb895217793e3e489b645ed9c (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/at/at.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c
index 5d4b642c38e3..371ef4d7a164 100644
--- a/usr.bin/at/at.c
+++ b/usr.bin/at/at.c
@@ -33,15 +33,21 @@ __FBSDID("$FreeBSD$");
/* System Headers */
-#include <sys/types.h>
+#include <sys/param.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/wait.h>
-#include <sys/param.h>
#include <ctype.h>
#include <dirent.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#ifndef __FreeBSD__
+#include <getopt.h>
+#endif
+#ifdef __FreeBSD__
+#include <locale.h>
+#endif
#include <pwd.h>
#include <signal.h>
#include <stddef.h>
@@ -51,11 +57,6 @@ __FBSDID("$FreeBSD$");
#include <time.h>
#include <unistd.h>
#include <utmp.h>
-#ifndef __FreeBSD__
-#include <getopt.h>
-#else
-#include <locale.h>
-#endif
#if (MAXLOGNAME-1) > UT_NAMESIZE
#define LOGNAMESIZE UT_NAMESIZE