23 lines
532 B
Diff
23 lines
532 B
Diff
|
diff --git a/pppd/plugins/rp-pppoe/pppoe.h b/pppd/plugins/rp-pppoe/pppoe.h
|
||
|
index 9ab2eee..b827620 100644
|
||
|
--- a/pppd/plugins/rp-pppoe/pppoe.h
|
||
|
+++ b/pppd/plugins/rp-pppoe/pppoe.h
|
||
|
@@ -47,6 +47,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>
|
||
|
@@ -84,8 +86,6 @@ typedef unsigned long UINT32_t;
|
||
|
#include <linux/if_ether.h>
|
||
|
#endif
|
||
|
|
||
|
-#include <netinet/in.h>
|
||
|
-
|
||
|
#ifdef HAVE_NETINET_IF_ETHER_H
|
||
|
#include <sys/types.h>
|
||
|
|