diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-24 19:45:33 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-24 19:45:33 +1000 |
commit | 450d2af2a3f07e46cc1490a0029a9f669dd60108 (patch) | |
tree | c36f2b5774cf593b93d19bcf120349634d1424bf | |
parent | e086955531ffef96bc15d51a07f25ae65804dc1c (diff) |
- (dtucker) [openbsd-compat/bsd-misc.c] Include <sys/select.h> for select(2)
on POSIX systems.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | openbsd-compat/bsd-misc.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -2,6 +2,8 @@ - (dtucker) [openbsd-compat/basename.c] Include errno.h. - (dtucker) [openbsd-compat/bsd-misc.c] Add includes needed for select(2) on older systems. + - (dtucker) [openbsd-compat/bsd-misc.c] Include <sys/select.h> for select(2) + on POSIX systems. 20060822 - (dtucker) [Makefile.in] Bug #1177: fix incorrect path for sshrc in @@ -5293,4 +5295,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.4506 2006/08/24 09:43:16 dtucker Exp $ +$Id: ChangeLog,v 1.4507 2006/08/24 09:45:33 dtucker Exp $ diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index c6b80365..17d731bd 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c @@ -17,6 +17,9 @@ #include "includes.h" +#ifdef HAVE_SYS_SELECT_H +# include <sys/select.h> +#endif #ifdef HAVE_SYS_TIME_H # include <sys/time.h> #endif |