120-musl-compat.patch 379 B

1234567891011121314151617
  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>