mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 23:23:31 +00:00
busybox: fix arping applet building on musl
musl-libc is more strict about missing includes. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34311
This commit is contained in:
parent
94bdc366d4
commit
92fd6e6f1a
12
package/busybox/patches/998-arping_missing_includes.patch
Normal file
12
package/busybox/patches/998-arping_missing_includes.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -urN busybox-1.19.4/networking/arping.c busybox-1.19.4.new/networking/arping.c
|
||||
--- busybox-1.19.4/networking/arping.c 2012-02-04 20:24:55.000000000 +0100
|
||||
+++ busybox-1.19.4.new/networking/arping.c 2012-11-23 17:22:13.753252564 +0100
|
||||
@@ -24,6 +24,8 @@
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <net/if.h>
|
||||
+#include <net/if_arp.h>
|
||||
+#include <netinet/if_ether.h>
|
||||
#include <netinet/ether.h>
|
||||
#include <netpacket/packet.h>
|
||||
|
Loading…
Reference in New Issue
Block a user