From d78404c24ac7aaa335b88eb1eedaf1522b52ad0c Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 30 Jun 2014 15:34:03 +0000
Subject: openvpn: fix compile error with musl

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41425
---
 .../network/services/openvpn/patches/110-musl_compat.patch  | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 package/network/services/openvpn/patches/110-musl_compat.patch

(limited to 'package')

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
-- 
cgit v1.1