]> err.no Git - util-linux/commitdiff
agetty: sys/types.h and time.h are included more than once
authorKarel Zak <kzak@redhat.com>
Wed, 26 Nov 2008 13:35:31 +0000 (14:35 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 26 Nov 2008 13:35:31 +0000 (14:35 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/agetty.c

index 10162273a64d09f846a8350971f1a077a81a0751..47dfa49fcb5554dde3dc58742f05452d7b15d12f 100644 (file)
@@ -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 */