diff options
author | Damien Miller <djm@mindrot.org> | 2006-08-05 10:57:45 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-08-05 10:57:45 +1000 |
commit | 9aec91948d134745c29ff63d32d46ac2c367306a (patch) | |
tree | 7eabd48bafaea56e6dbe8337aad6ed975fec1fb1 /includes.h | |
parent | 7c6e4b059c29c695d3c411f5fa83abe953225e21 (diff) |
- stevesk@cvs.openbsd.org 2006/07/25 02:59:21
[channels.c clientloop.c packet.c scp.c serverloop.c sftp-client.c]
[sftp-server.c ssh-agent.c ssh-keyscan.c sshconnect.c sshd.c]
move #include <sys/time.h> out of includes.h
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 |