aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/ppp/patches/510-pptp_compile_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-20 13:51:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-20 13:51:36 +0000
commit137c4262e831eaf2c50dbab3ee41e7fd412dfa8a (patch)
tree837897509a54eb351bc5e98fe59be9de44a20e44 /package/network/services/ppp/patches/510-pptp_compile_fix.patch
parent64e3f5f510072fffe8a238edc15163b89a6002f8 (diff)
downloadupstream-137c4262e831eaf2c50dbab3ee41e7fd412dfa8a.tar.gz
upstream-137c4262e831eaf2c50dbab3ee41e7fd412dfa8a.tar.bz2
upstream-137c4262e831eaf2c50dbab3ee41e7fd412dfa8a.zip
pppd: fix build errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39963 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/ppp/patches/510-pptp_compile_fix.patch')
-rw-r--r--package/network/services/ppp/patches/510-pptp_compile_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/services/ppp/patches/510-pptp_compile_fix.patch b/package/network/services/ppp/patches/510-pptp_compile_fix.patch
new file mode 100644
index 0000000000..04bb620e76
--- /dev/null
+++ b/package/network/services/ppp/patches/510-pptp_compile_fix.patch
@@ -0,0 +1,11 @@
+--- a/pppd/plugins/pptp/pptp.c
++++ b/pppd/plugins/pptp/pptp.c
+@@ -48,7 +48,7 @@
+
+ #include "pptp_callmgr.h"
+ #include <net/if.h>
+-#include <net/ethernet.h>
++#include <linux/if_ether.h>
+ #include <linux/if_pppox.h>
+
+ #include <stdio.h>