mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user