aboutsummaryrefslogtreecommitdiffstats
path: root/main/ppp/fix-pppd-pppoe.h.patch
blob: 1fc452a894f8e1e626a304056d433d009fbb37fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/pppd/plugins/rp-pppoe/pppoe.h	2020-02-06 09:59:38.086103782 +0100
+++ b/pppd/plugins/rp-pppoe/pppoe.h	2020-02-06 20:50:20.159705281 +0100
@@ -84,18 +84,6 @@
 #include <linux/if_ether.h>
 #endif
 
-#ifdef HAVE_NETINET_IF_ETHER_H
-#include <sys/types.h>
-
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
-#ifndef HAVE_SYS_DLPI_H
-#include <netinet/if_ether.h>
-#endif
-#endif
-
-
 /* Ethernet frame types according to RFC 2516 */
 #define ETH_PPPOE_DISCOVERY 0x8863
 #define ETH_PPPOE_SESSION   0x8864