aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-30 15:34:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-30 15:34:03 +0000
commit773c6a602e8e8ec7dee40947e7862f035806cec1 (patch)
tree75b982d91e7a64b7bf946beb1a6d1fc4657f6438 /package/network/services
parent45caee0c3c977f3a06f5eee70980cd2ffbe5d94b (diff)
downloadupstream-773c6a602e8e8ec7dee40947e7862f035806cec1.tar.gz
upstream-773c6a602e8e8ec7dee40947e7862f035806cec1.tar.bz2
upstream-773c6a602e8e8ec7dee40947e7862f035806cec1.zip
openvpn: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41425 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/openvpn/patches/110-musl_compat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/network/services/openvpn/patches/110-musl_compat.patch b/package/network/services/openvpn/patches/110-musl_compat.patch
new file mode 100644
index 0000000000..566c17f062
--- /dev/null
+++ b/package/network/services/openvpn/patches/110-musl_compat.patch
@@ -0,0 +1,13 @@
+--- a/src/openvpn/syshead.h
++++ b/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