2018-03-07 16:18:12 +00:00
|
|
|
--- a/src/if.c
|
|
|
|
+++ b/src/if.c
|
2020-06-16 03:12:10 +00:00
|
|
|
@@ -33,9 +33,9 @@
|
2016-05-22 00:35:10 +00:00
|
|
|
#include <linux/if_packet.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
-#ifdef HAVE_NET_ETHERNET_H
|
|
|
|
-#include <net/ethernet.h>
|
|
|
|
-#endif
|
2020-06-16 03:12:10 +00:00
|
|
|
+//#ifdef HAVE_NET_ETHERNET_H
|
|
|
|
+//#include <net/ethernet.h>
|
|
|
|
+//#endif
|
|
|
|
|
2016-05-22 00:35:10 +00:00
|
|
|
#ifdef HAVE_ASM_TYPES_H
|
|
|
|
#include <asm/types.h>
|
2018-03-07 16:18:12 +00:00
|
|
|
--- a/src/plugin.c
|
|
|
|
+++ b/src/plugin.c
|
2020-06-16 03:12:10 +00:00
|
|
|
@@ -52,7 +52,7 @@
|
2016-05-22 00:35:10 +00:00
|
|
|
#include <unistd.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
#include <signal.h>
|
|
|
|
-#include <net/ethernet.h>
|
2020-06-16 03:12:10 +00:00
|
|
|
+//#include <net/ethernet.h>
|
2016-05-22 00:35:10 +00:00
|
|
|
#include <net/if_arp.h>
|
|
|
|
#include <linux/ppp_defs.h>
|
|
|
|
#include <linux/if_pppox.h>
|
2020-06-16 03:12:10 +00:00
|
|
|
--- a/src/pppoe.h
|
|
|
|
+++ b/src/pppoe.h
|
|
|
|
@@ -129,9 +129,9 @@ typedef unsigned long UINT32_t;
|
|
|
|
#ifdef HAVE_SYS_SOCKET_H
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#endif
|
|
|
|
-#ifndef HAVE_SYS_DLPI_H
|
|
|
|
-#include <netinet/if_ether.h>
|
|
|
|
-#endif
|
|
|
|
+//#ifndef HAVE_SYS_DLPI_H
|
|
|
|
+//#include <netinet/if_ether.h>
|
|
|
|
+//#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|