aboutsummaryrefslogtreecommitdiffstats
path: root/main/openvpn/fix-headers.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-09 08:22:05 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-09 08:23:13 +0000
commitc09a38d104fcb3ea72901f85b77e9add30437853 (patch)
tree32b7ef3b41aa611d554d442bdb14d233cf899f41 /main/openvpn/fix-headers.patch
parent3c461dc8d43772a48e601a39e037565920cf588f (diff)
downloadaports-c09a38d104fcb3ea72901f85b77e9add30437853.tar.bz2
aports-c09a38d104fcb3ea72901f85b77e9add30437853.tar.xz
main/openvpn: fix musl build
Diffstat (limited to 'main/openvpn/fix-headers.patch')
-rw-r--r--main/openvpn/fix-headers.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/openvpn/fix-headers.patch b/main/openvpn/fix-headers.patch
new file mode 100644
index 0000000000..0e458d68ac
--- /dev/null
+++ b/main/openvpn/fix-headers.patch
@@ -0,0 +1,13 @@
+--- openvpn-2.3.2.orig/src/openvpn/syshead.h
++++ openvpn-2.3.2/src/openvpn/syshead.h
+@@ -214,10 +214,6 @@
+
+ #ifdef TARGET_LINUX
+
+-#if defined(HAVE_NETINET_IF_ETHER_H)
+-#include <netinet/if_ether.h>
+-#endif
+-
+ #ifdef HAVE_LINUX_IF_TUN_H
+ #include <linux/if_tun.h>
+ #endif