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.

17 lines
379 B

  1. --- a/ether-wake.c
  2. +++ b/ether-wake.c
  3. @@ -82,14 +82,8 @@ static char usage_msg[] =
  4. #include <linux/if.h>
  5. #include <features.h>
  6. -#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
  7. #include <netpacket/packet.h>
  8. #include <net/ethernet.h>
  9. -#else
  10. -#include <asm/types.h>
  11. -#include <linux/if_packet.h>
  12. -#include <linux/if_ether.h>
  13. -#endif
  14. #include <netdb.h>
  15. #include <netinet/ether.h>