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
commitd78404c24ac7aaa335b88eb1eedaf1522b52ad0c (patch)
tree70862f16be4915a6a36ef162c96d99524eadd96d /package/network/services
parent2289e5825253464712260555f3954d45148a6633 (diff)
downloadupstream-d78404c24ac7aaa335b88eb1eedaf1522b52ad0c.tar.gz
upstream-d78404c24ac7aaa335b88eb1eedaf1522b52ad0c.tar.bz2
upstream-d78404c24ac7aaa335b88eb1eedaf1522b52ad0c.zip
openvpn: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41425
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