summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libutil/logwtmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libutil/logwtmp.c b/lib/libutil/logwtmp.c
index 9f12870..ac407ea 100644
--- a/lib/libutil/logwtmp.c
+++ b/lib/libutil/logwtmp.c
@@ -41,14 +41,15 @@ static char sccsid[] = "@(#)logwtmp.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
-#include <sys/socket.h>
#include <sys/file.h>
+#include <sys/socket.h>
#include <sys/stat.h>
#include <libutil.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <utmp.h>
OpenPOWER on IntegriCloud