1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 17:13:10 +02:00
openwrt-xburst/package/busybox/patches/998-arping_missing_includes.patch
florian 7b192ed520 [package] busybox: fix arping applet building on musl
musl-libc is more strict about missing includes.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:14 +00:00

13 lines
420 B
Diff

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>