mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 01:42:58 +02:00
ppp: fix build with kernel 4.9 headers
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
12
src/patches/ppp/ppp-2.4.7-headers_4.9.patch
Normal file
12
src/patches/ppp/ppp-2.4.7-headers_4.9.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur ppp-2.4.7.org/pppd/plugins/rp-pppoe/plugin.c ppp-2.4.7/pppd/plugins/rp-pppoe/plugin.c
|
||||
--- ppp-2.4.7.org/pppd/plugins/rp-pppoe/plugin.c 2014-08-09 14:31:39.000000000 +0200
|
||||
+++ ppp-2.4.7/pppd/plugins/rp-pppoe/plugin.c 2017-02-09 08:45:12.567493723 +0100
|
||||
@@ -49,6 +49,8 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user