openvpn: fix compile error with musl
authorFelix Fietkau <nbd@openwrt.org>
Mon, 30 Jun 2014 15:34:03 +0000 (15:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 30 Jun 2014 15:34:03 +0000 (15:34 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41425

package/network/services/openvpn/patches/110-musl_compat.patch [new file with mode: 0644]

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 (file)
index 0000000..566c17f
--- /dev/null
@@ -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