agetty: sys/types.h and time.h are included more than once

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2008-11-26 14:35:31 +01:00
parent 715814d950
commit df73ad460d
1 changed files with 1 additions and 2 deletions

View 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 */