summaryrefslogtreecommitdiff
path: root/package
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
parent2289e5825253464712260555f3954d45148a6633 (diff)
downloadmtk-20170518-d78404c24ac7aaa335b88eb1eedaf1522b52ad0c.zip
mtk-20170518-d78404c24ac7aaa335b88eb1eedaf1522b52ad0c.tar.gz
mtk-20170518-d78404c24ac7aaa335b88eb1eedaf1522b52ad0c.tar.bz2
openvpn: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41425
Diffstat (limited to 'package')
-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 0000000..566c17f
--- /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