summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-09-01 15:48:19 +1000
committerDamien Miller <djm@mindrot.org>2006-09-01 15:48:19 +1000
commit607aede26c4193bf1bc5063698ea9a36cbd990e3 (patch)
tree588f5e70ecf0ee757ef92c83811e42e03beb5156 /openbsd-compat
parentded319cca23923651ddc5e6a4bd4bda66d0737f4 (diff)
- (djm) [includes.h monitor.c openbsd-compat/bindresvport.c]
[openbsd-compat/rresvport.c] Some more headers: netinet/in.h sys/socket.h and unistd.h in various places
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bindresvport.c4
-rw-r--r--openbsd-compat/rresvport.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c
index ef0eff3b6..e8fb83f23 100644
--- a/openbsd-compat/bindresvport.c
+++ b/openbsd-compat/bindresvport.c
@@ -33,8 +33,10 @@
33#include "includes.h" 33#include "includes.h"
34 34
35#ifndef HAVE_BINDRESVPORT_SA 35#ifndef HAVE_BINDRESVPORT_SA
36#include <sys/types.h>
37#include <sys/socket.h>
36 38
37#include "includes.h" 39#include <netinet/in.h>
38 40
39#include <errno.h> 41#include <errno.h>
40#include <string.h> 42#include <string.h>
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c
index 15790e852..17e66ca59 100644
--- a/openbsd-compat/rresvport.c
+++ b/openbsd-compat/rresvport.c
@@ -35,6 +35,11 @@
35 35
36#ifndef HAVE_RRESVPORT_AF 36#ifndef HAVE_RRESVPORT_AF
37 37
38#include <sys/types.h>
39#include <sys/socket.h>
40
41#include <netinet/in.h>
42
38#include <errno.h> 43#include <errno.h>
39#include <stdlib.h> 44#include <stdlib.h>
40#include <string.h> 45#include <string.h>