summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-pppd_plugins_rp-pppoe_plugin_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-11-04 05:08:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-11-04 05:08:17 +0100
commit822d23bb803436b1ec4d494ef6bc00a3c5989b76 (patch)
tree1bc866eaa914b37db3c8ab72c02f95daaac305ef /package/ppp/patches/patch-pppd_plugins_rp-pppoe_plugin_c
parent87acc81fdc8337189945c30c7f6c3b71d32291d4 (diff)
ppp: fix rp-pppoe plugin compile
Diffstat (limited to 'package/ppp/patches/patch-pppd_plugins_rp-pppoe_plugin_c')
-rw-r--r--package/ppp/patches/patch-pppd_plugins_rp-pppoe_plugin_c15
1 files changed, 8 insertions, 7 deletions
diff --git a/package/ppp/patches/patch-pppd_plugins_rp-pppoe_plugin_c b/package/ppp/patches/patch-pppd_plugins_rp-pppoe_plugin_c
index 6a8cb0d8c..d6ec94c69 100644
--- a/package/ppp/patches/patch-pppd_plugins_rp-pppoe_plugin_c
+++ b/package/ppp/patches/patch-pppd_plugins_rp-pppoe_plugin_c
@@ -1,10 +1,11 @@
---- ppp-2.4.6.orig/pppd/plugins/rp-pppoe/plugin.c 2014-01-02 05:42:08.000000000 +0100
-+++ ppp-2.4.6/pppd/plugins/rp-pppoe/plugin.c 2014-06-05 20:42:29.000000000 +0200
-@@ -46,7 +46,6 @@ static char const RCSID[] =
- #include <unistd.h>
- #include <fcntl.h>
- #include <signal.h>
--#include <net/ethernet.h>
+--- ppp-2.4.7.orig/pppd/plugins/rp-pppoe/plugin.c 2014-08-09 14:31:39.000000000 +0200
++++ ppp-2.4.7/pppd/plugins/rp-pppoe/plugin.c 2021-11-04 04:11:17.756625845 +0100
+@@ -49,6 +49,8 @@ static char const RCSID[] =
+ #include <net/ethernet.h>
#include <net/if_arp.h>
#include <linux/ppp_defs.h>
++#define _LINUX_IN_H
++#define _LINUX_IN6_H
#include <linux/if_pppox.h>
+
+ #ifndef _ROOT_PATH