summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-07-14 12:03:27 +1000
committerDamien Miller <djm@mindrot.org>2008-07-14 12:03:27 +1000
commit639ce593d4f00a1414dce59b45036385cfd4c627 (patch)
tree79e22b8d3c6c724c75a2b8a982ee696ca220828e
parentce02e5e09eb50ed9a67a3067a001092b73c0d514 (diff)
- (djm) [openbsd-compat/rresvport.c] Add unistd.h for missing close()
prototype; reported by cristian.ionescu-idbohrn AT axis.com
-rw-r--r--ChangeLog4
-rw-r--r--openbsd-compat/rresvport.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 131b1df3..b411bd77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,8 @@
- (djm) [openbsd-compat/bindresvport.c] Rename variables s/sin/in/ to
avoid clash with sin(3) function; reported by
cristian.ionescu-idbohrn AT axis.com
+ - (djm) [openbsd-compat/rresvport.c] Add unistd.h for missing close()
+ prototype; reported by cristian.ionescu-idbohrn AT axis.com
20080712
- (djm) OpenBSD CVS Sync
@@ -4654,4 +4656,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
-$Id: ChangeLog,v 1.5079 2008/07/14 02:02:24 djm Exp $
+$Id: ChangeLog,v 1.5080 2008/07/14 02:03:27 djm Exp $
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c
index 5b0275ce..1cd61e58 100644
--- a/openbsd-compat/rresvport.c
+++ b/openbsd-compat/rresvport.c
@@ -44,6 +44,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#if 0
int