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.

34 lines
1.4 KiB

  1. --- a/src/configure
  2. +++ b/src/configure
  3. @@ -3676,7 +3676,7 @@ fi
  4. done
  5. -for ac_header in fcntl.h sys/dlpi.h sys/ioctl.h sys/time.h syslog.h unistd.h net/if_arp.h netinet/if_ether.h getopt.h sys/uio.h sys/param.h fcntl.h net/bpf.h netpacket/packet.h net/ethernet.h asm/types.h linux/if_packet.h linux/if_ether.h sys/socket.h sys/cdefs.h net/if.h net/if_dl.h net/if_ether.h net/if_types.h netinet/if_ether.h net/if_types.h net/if_dl.h
  6. +for ac_header in fcntl.h sys/dlpi.h sys/ioctl.h sys/time.h syslog.h unistd.h net/if_arp.h getopt.h sys/uio.h sys/param.h fcntl.h net/bpf.h netpacket/packet.h asm/types.h linux/if_packet.h linux/if_ether.h sys/socket.h sys/cdefs.h net/if.h net/if_dl.h net/if_types.h net/if_types.h net/if_dl.h
  7. do :
  8. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  10. --- a/src/if.c
  11. +++ b/src/if.c
  12. @@ -30,10 +30,6 @@ static char const RCSID[] =
  13. #include <linux/if_packet.h>
  14. #endif
  15. -#ifdef HAVE_NET_ETHERNET_H
  16. -#include <net/ethernet.h>
  17. -#endif
  18. -
  19. #ifdef HAVE_ASM_TYPES_H
  20. #include <asm/types.h>
  21. #endif
  22. --- a/src/plugin.c
  23. +++ b/src/plugin.c
  24. @@ -49,7 +49,6 @@ static char const RCSID[] =
  25. #include <unistd.h>
  26. #include <fcntl.h>
  27. #include <signal.h>
  28. -#include <net/ethernet.h>
  29. #include <net/if_arp.h>
  30. #include <linux/ppp_defs.h>
  31. #include <linux/if_pppox.h>