aboutsummaryrefslogtreecommitdiff
path: root/net/etherwake/patches/120-musl-compat.patch
blob: a2cdfba9d6bba89b3a2e1d43fe6ae0a435deba35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/ether-wake.c
+++ b/ether-wake.c
@@ -82,14 +82,8 @@ static char usage_msg[] =
 #include <linux/if.h>
 
 #include <features.h>
-#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
 #include <netpacket/packet.h>
 #include <net/ethernet.h>
-#else
-#include <asm/types.h>
-#include <linux/if_packet.h>
-#include <linux/if_ether.h>
-#endif
 #include <netdb.h>
 #include <netinet/ether.h>