diff options
Diffstat (limited to 'recipes/ppp/files/ppp-fix-building-with-linux-4.8.patch')
-rw-r--r-- | recipes/ppp/files/ppp-fix-building-with-linux-4.8.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/recipes/ppp/files/ppp-fix-building-with-linux-4.8.patch b/recipes/ppp/files/ppp-fix-building-with-linux-4.8.patch deleted file mode 100644 index 17e7975..0000000 --- a/recipes/ppp/files/ppp-fix-building-with-linux-4.8.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | diff --git a/pppd/plugins/rp-pppoe/pppoe.h b/pppd/plugins/rp-pppoe/pppoe.h | ||
2 | index 9ab2eee..96d2794 100644 | ||
3 | --- a/pppd/plugins/rp-pppoe/pppoe.h | ||
4 | +++ b/pppd/plugins/rp-pppoe/pppoe.h | ||
5 | @@ -47,6 +47,10 @@ | ||
6 | #include <sys/socket.h> | ||
7 | #endif | ||
8 | |||
9 | +/* This has to be included before Linux 4.8's linux/in.h | ||
10 | + * gets dragged in. */ | ||
11 | +#include <netinet/in.h> | ||
12 | + | ||
13 | /* Ugly header files on some Linux boxes... */ | ||
14 | #if defined(HAVE_LINUX_IF_H) | ||
15 | #include <linux/if.h> | ||
16 | @@ -84,7 +88,6 @@ typedef unsigned long UINT32_t; | ||
17 | #include <linux/if_ether.h> | ||
18 | #endif | ||
19 | |||
20 | -#include <netinet/in.h> | ||
21 | |||
22 | #ifdef HAVE_NETINET_IF_ETHER_H | ||
23 | #include <sys/types.h> | ||