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 @@ 20060824 - (dtucker) [openbsd-compat/basename.c] Include errno.h. + - (dtucker) [openbsd-compat/bsd-misc.c] Add includes needed for select(2) on + older systems. 20060822 - (dtucker) [Makefile.in] Bug #1177: fix incorrect path for sshrc in @@ -5291,4 +5293,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4505 2006/08/24 09:41:03 dtucker Exp $ +$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 e6128f9a..c6b80365 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c @@ -17,8 +17,13 @@ #include "includes.h" +#ifdef HAVE_SYS_TIME_H +# include <sys/time.h> +#endif + #include <string.h> #include <signal.h> +#include <stdlib.h> #include "xmalloc.h" |