summaryrefslogtreecommitdiff
path: root/net/openvpn/patches/patch-af
blob: a835a5a00aace39c417cfebd7f55972169178d9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-af,v 1.7 2013/02/10 05:55:07 manu Exp $

--- configure.orig	2013-01-28 10:29:31.000000000 +0100
+++ configure	2013-01-28 10:29:38.000000000 +0100
@@ -13427,8 +13427,9 @@
 	sys/time.h sys/ioctl.h sys/stat.h \
 	sys/mman.h sys/file.h sys/wait.h \
 	unistd.h signal.h libgen.h stropts.h \
 	syslog.h pwd.h grp.h \
+	net/if_tap.h \
 	sys/sockio.h sys/uio.h linux/sockios.h \
 	linux/types.h sys/poll.h sys/epoll.h err.h \
 
 do :
@@ -13453,8 +13454,11 @@
 #endif
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
+#ifdef HAVE_NET_IF_H
+#include <net/if.h>
+#endif
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif
 #ifdef HAVE_WINDOWS_H