summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/rresvport.c
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 /openbsd-compat/rresvport.c
parentce02e5e09eb50ed9a67a3067a001092b73c0d514 (diff)
- (djm) [openbsd-compat/rresvport.c] Add unistd.h for missing close()
prototype; reported by cristian.ionescu-idbohrn AT axis.com
Diffstat (limited to 'openbsd-compat/rresvport.c')
-rw-r--r--openbsd-compat/rresvport.c1
1 files changed, 1 insertions, 0 deletions
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