summaryrefslogtreecommitdiffstats
path: root/login-utils/agetty.c
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils/agetty.c')
-rw-r--r--login-utils/agetty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/login-utils/agetty.c b/login-utils/agetty.c
index 10162273a..47dfa49fc 100644
--- a/login-utils/agetty.c
+++ b/login-utils/agetty.c
@@ -30,9 +30,9 @@
#include <getopt.h>
#include <time.h>
#include <sys/file.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
+
#include "xstrncpy.h"
#include "nls.h"
#include "pathnames.h"
@@ -72,7 +72,6 @@
#ifdef SYSV_STYLE
#define ISSUE "/etc/issue" /* displayed before the login prompt */
#include <sys/utsname.h>
-#include <time.h>
#endif
#define LOGIN " login: " /* login prompt */