You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
821 B

  1. --- a/src/if.c
  2. +++ b/src/if.c
  3. @@ -33,9 +33,9 @@
  4. #include <linux/if_packet.h>
  5. #endif
  6. -#ifdef HAVE_NET_ETHERNET_H
  7. -#include <net/ethernet.h>
  8. -#endif
  9. +//#ifdef HAVE_NET_ETHERNET_H
  10. +//#include <net/ethernet.h>
  11. +//#endif
  12. #ifdef HAVE_ASM_TYPES_H
  13. #include <asm/types.h>
  14. --- a/src/plugin.c
  15. +++ b/src/plugin.c
  16. @@ -52,7 +52,7 @@
  17. #include <unistd.h>
  18. #include <fcntl.h>
  19. #include <signal.h>
  20. -#include <net/ethernet.h>
  21. +//#include <net/ethernet.h>
  22. #include <net/if_arp.h>
  23. #include <linux/ppp_defs.h>
  24. #include <linux/if_pppox.h>
  25. --- a/src/pppoe.h
  26. +++ b/src/pppoe.h
  27. @@ -129,9 +129,9 @@ typedef unsigned long UINT32_t;
  28. #ifdef HAVE_SYS_SOCKET_H
  29. #include <sys/socket.h>
  30. #endif
  31. -#ifndef HAVE_SYS_DLPI_H
  32. -#include <netinet/if_ether.h>
  33. -#endif
  34. +//#ifndef HAVE_SYS_DLPI_H
  35. +//#include <netinet/if_ether.h>
  36. +//#endif
  37. #endif