summaryrefslogtreecommitdiff
path: root/libre/rp-pppoe/rp-pppoe-3.12-linux-headers.patch
blob: 376061aee9ee9d29a7633ea8f799418623f4ad2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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>