patch-pppd_plugins_rp-pppoe_pppoe_h 639 B

1234567891011121314151617181920212223242526272829
  1. --- ppp-2.4.5.orig/pppd/plugins/rp-pppoe/pppoe.h 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/pppd/plugins/rp-pppoe/pppoe.h 2014-03-17 16:32:55.000000000 +0100
  3. @@ -40,7 +40,6 @@
  4. #endif
  5. #ifdef HAVE_SYS_CDEFS_H
  6. -#include <sys/cdefs.h>
  7. #endif
  8. #ifdef HAVE_SYS_SOCKET_H
  9. @@ -86,18 +85,6 @@ typedef unsigned long UINT32_t;
  10. #include <netinet/in.h>
  11. -#ifdef HAVE_NETINET_IF_ETHER_H
  12. -#include <sys/types.h>
  13. -
  14. -#ifdef HAVE_SYS_SOCKET_H
  15. -#include <sys/socket.h>
  16. -#endif
  17. -#ifndef HAVE_SYS_DLPI_H
  18. -#include <netinet/if_ether.h>
  19. -#endif
  20. -#endif
  21. -
  22. -
  23. /* Ethernet frame types according to RFC 2516 */
  24. #define ETH_PPPOE_DISCOVERY 0x8863