100-musl-compat.patch 317 B

12345678910111213141516
  1. --- a/src/libnet_link_linux.c
  2. +++ b/src/libnet_link_linux.c
  3. @@ -30,13 +30,8 @@
  4. #include <sys/time.h>
  5. #include <net/if.h>
  6. -#if (__GLIBC__)
  7. #include <netinet/if_ether.h>
  8. #include <net/if_arp.h>
  9. -#else
  10. -#include <linux/if_arp.h>
  11. -#include <linux/if_ether.h>
  12. -#endif
  13. #if (HAVE_PACKET_SOCKET)
  14. #ifndef SOL_PACKET