diff options
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/includes.h b/includes.h index 7a7bd8176..fc85e6778 100644 --- a/includes.h +++ b/includes.h | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #define _GNU_SOURCE /* activate extra prototypes for glibc */ | 21 | #define _GNU_SOURCE /* activate extra prototypes for glibc */ |
22 | 22 | ||
23 | #include <sys/types.h> | ||
23 | #include <stdio.h> | 24 | #include <stdio.h> |
24 | #include <stdlib.h> | 25 | #include <stdlib.h> |
25 | 26 | ||
@@ -69,19 +70,12 @@ | |||
69 | # include <utmp.h> | 70 | # include <utmp.h> |
70 | #endif | 71 | #endif |
71 | #ifdef HAVE_UTMPX_H | 72 | #ifdef HAVE_UTMPX_H |
72 | # ifdef HAVE_TV_IN_UTMPX | ||
73 | # include <sys/time.h> | ||
74 | # endif | ||
75 | # include <utmpx.h> | 73 | # include <utmpx.h> |
76 | #endif | 74 | #endif |
77 | #ifdef HAVE_LASTLOG_H | 75 | #ifdef HAVE_LASTLOG_H |
78 | # include <lastlog.h> | 76 | # include <lastlog.h> |
79 | #endif | 77 | #endif |
80 | 78 | ||
81 | #include <sys/types.h> | ||
82 | #ifdef HAVE_SYS_TIME_H | ||
83 | # include <sys/time.h> /* For timersub */ | ||
84 | #endif | ||
85 | #ifdef HAVE_SYS_SELECT_H | 79 | #ifdef HAVE_SYS_SELECT_H |
86 | # include <sys/select.h> | 80 | # include <sys/select.h> |
87 | #endif | 81 | #endif |