1--- libnet-1.1.6.orig/src/libnet_link_linux.c
2+++ libnet-1.1.6/src/libnet_link_linux.c
3@@ -30,26 +30,15 @@
4 #include <sys/time.h>
5
6 #include <net/if.h>
7-#if (__GLIBC__)
8 #include <netinet/if_ether.h>
9 #include <net/if_arp.h>
10-#else
11-#include <linux/if_arp.h>
12-#include <linux/if_ether.h>
13-#endif
14
15 #if (HAVE_PACKET_SOCKET)
16 #ifndef SOL_PACKET
17 #define SOL_PACKET 263
18 #endif /* SOL_PACKET */
19-#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
20 #include <netpacket/packet.h>
21 #include <net/ethernet.h> /* the L2 protocols */
22-#else
23-#include <asm/types.h>
24-#include <linux/if_packet.h>
25-#include <linux/if_ether.h> /* The L2 protocols */
26-#endif
27 #endif /* HAVE_PACKET_SOCKET */
28
29 #include "../include/libnet.h"