|
@ -1,11 +1,16 @@ |
|
|
--- a/src/libnet_link_linux.c
|
|
|
--- a/src/libnet_link_linux.c
|
|
|
+++ b/src/libnet_link_linux.c
|
|
|
+++ b/src/libnet_link_linux.c
|
|
|
@@ -30,7 +30,7 @@
|
|
|
|
|
|
|
|
|
@@ -30,13 +30,8 @@
|
|
|
#include <sys/time.h> |
|
|
#include <sys/time.h> |
|
|
|
|
|
|
|
|
#include <net/if.h> |
|
|
#include <net/if.h> |
|
|
-#if (__GLIBC__)
|
|
|
-#if (__GLIBC__)
|
|
|
+#if (!__UCLIBC__)
|
|
|
|
|
|
#include <netinet/if_ether.h> |
|
|
#include <netinet/if_ether.h> |
|
|
#include <net/if_arp.h> |
|
|
#include <net/if_arp.h> |
|
|
#else |
|
|
|
|
|
|
|
|
-#else
|
|
|
|
|
|
-#include <linux/if_arp.h>
|
|
|
|
|
|
-#include <linux/if_ether.h>
|
|
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if (HAVE_PACKET_SOCKET) |
|
|
|
|
|
#ifndef SOL_PACKET |