aboutsummaryrefslogtreecommitdiff
path: root/libs/libnet-1.2.x/patches/100-musl-compat.patch
blob: b95366a07cfc66e6ccb2e7dc171ddcbd6b935621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/src/libnet_link_linux.c
+++ b/src/libnet_link_linux.c
@@ -30,13 +30,8 @@
 #include <sys/time.h>
 
 #include <net/if.h>
-#if (__GLIBC__)
 #include <netinet/if_ether.h>
 #include <net/if_arp.h>
-#else
-#include <linux/if_arp.h>
-#include <linux/if_ether.h>
-#endif
 
 #if (HAVE_PACKET_SOCKET)
 #ifndef SOL_PACKET