diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-24 19:43:16 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-24 19:43:16 +1000 |
commit | e086955531ffef96bc15d51a07f25ae65804dc1c (patch) | |
tree | b6bd23411e31089c12c95bdf05009e4491bea2c2 | |
parent | fe408b4826f92b96976b46dec02218bd66dfc6e1 (diff) |
- (dtucker) [openbsd-compat/bsd-misc.c] Add includes needed for select(2) on
older systems.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | openbsd-compat/bsd-misc.c | 5 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,7 @@ | |||
1 | 20060824 | 1 | 20060824 |
2 | - (dtucker) [openbsd-compat/basename.c] Include errno.h. | 2 | - (dtucker) [openbsd-compat/basename.c] Include errno.h. |
3 | - (dtucker) [openbsd-compat/bsd-misc.c] Add includes needed for select(2) on | ||
4 | older systems. | ||
3 | 5 | ||
4 | 20060822 | 6 | 20060822 |
5 | - (dtucker) [Makefile.in] Bug #1177: fix incorrect path for sshrc in | 7 | - (dtucker) [Makefile.in] Bug #1177: fix incorrect path for sshrc in |
@@ -5291,4 +5293,4 @@ | |||
5291 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 5293 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
5292 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 5294 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
5293 | 5295 | ||
5294 | $Id: ChangeLog,v 1.4505 2006/08/24 09:41:03 dtucker Exp $ | 5296 | $Id: ChangeLog,v 1.4506 2006/08/24 09:43:16 dtucker Exp $ |
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index e6128f9a7..c6b80365c 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c | |||
@@ -17,8 +17,13 @@ | |||
17 | 17 | ||
18 | #include "includes.h" | 18 | #include "includes.h" |
19 | 19 | ||
20 | #ifdef HAVE_SYS_TIME_H | ||
21 | # include <sys/time.h> | ||
22 | #endif | ||
23 | |||
20 | #include <string.h> | 24 | #include <string.h> |
21 | #include <signal.h> | 25 | #include <signal.h> |
26 | #include <stdlib.h> | ||
22 | 27 | ||
23 | #include "xmalloc.h" | 28 | #include "xmalloc.h" |
24 | 29 | ||