summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-24 19:43:16 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-08-24 19:43:16 +1000
commite086955531ffef96bc15d51a07f25ae65804dc1c (patch)
treeb6bd23411e31089c12c95bdf05009e4491bea2c2
parentfe408b4826f92b96976b46dec02218bd66dfc6e1 (diff)
- (dtucker) [openbsd-compat/bsd-misc.c] Add includes needed for select(2) on
older systems.
-rw-r--r--ChangeLog4
-rw-r--r--openbsd-compat/bsd-misc.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b20380de..af8381fe0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
120060824 120060824
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
420060822 620060822
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