diff options
Diffstat (limited to 'libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch')
-rw-r--r-- | libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch b/libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch new file mode 100644 index 000000000..376061aee --- /dev/null +++ b/libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch @@ -0,0 +1,20 @@ +--- a/src/pppoe.h 2015-11-11 10:10:04.000000000 -0500 ++++ b/src/pppoe.h 2018-02-04 19:07:00.581864484 -0500 +@@ -51,6 +51,8 @@ + #include <sys/socket.h> + #endif + ++#include <netinet/in.h> ++ + /* Ugly header files on some Linux boxes... */ + #if defined(HAVE_LINUX_IF_H) + #include <linux/if.h> +@@ -131,8 +133,6 @@ + #include <linux/if_ether.h> + #endif + +-#include <netinet/in.h> +- + #ifdef HAVE_NETINET_IF_ETHER_H + #include <sys/types.h> + |