summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2007-04-29 12:06:55 +1000
committerDarren Tucker <dtucker@zip.com.au>2007-04-29 12:06:55 +1000
commit781e7a28d0376af76bae27495bac5054510688b1 (patch)
tree401eff219ea78115c0f84b71d5a2e8942c09c5ef
parent2a3868589b2c7a7893f08d254f1c8fd0b23098a5 (diff)
- (dtucker) [openbsd-compat/bsd-misc.c] Include unistd.h and sys/types.h
for select(2) prototype.
-rw-r--r--ChangeLog6
-rw-r--r--openbsd-compat/bsd-misc.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fbecc3dd1..71800d957 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120070429
2 - (dtucker) [openbsd-compat/bsd-misc.c] Include unistd.h and sys/types.h
3 for select(2) prototype.
4
120070406 520070406
2 - (dtucker) [INSTALL] Update the systems that have PAM as standard. Link 6 - (dtucker) [INSTALL] Update the systems that have PAM as standard. Link
3 to OpenPAM too. 7 to OpenPAM too.
@@ -2878,4 +2882,4 @@
2878 OpenServer 6 and add osr5bigcrypt support so when someone migrates 2882 OpenServer 6 and add osr5bigcrypt support so when someone migrates
2879 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 2883 passwords between UnixWare and OpenServer they will still work. OK dtucker@
2880 2884
2881$Id: ChangeLog,v 1.4651 2007/04/06 02:25:08 dtucker Exp $ 2885$Id: ChangeLog,v 1.4652 2007/04/29 02:06:55 dtucker Exp $
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index 17d731bd2..bea3144bd 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -17,6 +17,7 @@
17 17
18#include "includes.h" 18#include "includes.h"
19 19
20#include <sys/types.h>
20#ifdef HAVE_SYS_SELECT_H 21#ifdef HAVE_SYS_SELECT_H
21# include <sys/select.h> 22# include <sys/select.h>
22#endif 23#endif
@@ -27,6 +28,7 @@
27#include <string.h> 28#include <string.h>
28#include <signal.h> 29#include <signal.h>
29#include <stdlib.h> 30#include <stdlib.h>
31#include <unistd.h>
30 32
31#include "xmalloc.h" 33#include "xmalloc.h"
32 34