summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bindresvport.c1
-rw-r--r--openbsd-compat/getrrsetbyname.c3
-rw-r--r--openbsd-compat/port-tun.c2
-rw-r--r--openbsd-compat/rresvport.c1
4 files changed, 7 insertions, 0 deletions
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c
index e8fb83f23..65afed1e3 100644
--- a/openbsd-compat/bindresvport.c
+++ b/openbsd-compat/bindresvport.c
@@ -37,6 +37,7 @@
37#include <sys/socket.h> 37#include <sys/socket.h>
38 38
39#include <netinet/in.h> 39#include <netinet/in.h>
40#include <arpa/inet.h>
40 41
41#include <errno.h> 42#include <errno.h>
42#include <string.h> 43#include <string.h>
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c
index 40155d5ab..6c86e02c2 100644
--- a/openbsd-compat/getrrsetbyname.c
+++ b/openbsd-compat/getrrsetbyname.c
@@ -52,6 +52,9 @@
52#include <stdlib.h> 52#include <stdlib.h>
53#include <string.h> 53#include <string.h>
54 54
55#include <netinet/in.h>
56#include <arpa/inet.h>
57
55#include "getrrsetbyname.h" 58#include "getrrsetbyname.h"
56 59
57#if defined(HAVE_DECL_H_ERRNO) && !HAVE_DECL_H_ERRNO 60#if defined(HAVE_DECL_H_ERRNO) && !HAVE_DECL_H_ERRNO
diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c
index cadc331e1..276474db8 100644
--- a/openbsd-compat/port-tun.c
+++ b/openbsd-compat/port-tun.c
@@ -18,7 +18,9 @@
18 18
19#include <sys/types.h> 19#include <sys/types.h>
20#include <sys/ioctl.h> 20#include <sys/ioctl.h>
21
21#include <netinet/in.h> 22#include <netinet/in.h>
23#include <arpa/inet.h>
22#include <netinet/ip.h> 24#include <netinet/ip.h>
23 25
24#include <errno.h> 26#include <errno.h>
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c
index 17e66ca59..5b0275ce0 100644
--- a/openbsd-compat/rresvport.c
+++ b/openbsd-compat/rresvport.c
@@ -39,6 +39,7 @@
39#include <sys/socket.h> 39#include <sys/socket.h>
40 40
41#include <netinet/in.h> 41#include <netinet/in.h>
42#include <arpa/inet.h>
42 43
43#include <errno.h> 44#include <errno.h>
44#include <stdlib.h> 45#include <stdlib.h>