summaryrefslogtreecommitdiff
path: root/package/busybox/patches/998-arping_missing_includes.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-23 20:02:14 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-23 20:02:14 +0000
commit7b192ed5209ced3061433d15c038df3a6d1c20d0 (patch)
tree62a295569295adc263adc88f241712fe99141fe1 /package/busybox/patches/998-arping_missing_includes.patch
parent7b8728688e4b4c2115383617e0fa7854c9bad2cf (diff)
[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
Diffstat (limited to 'package/busybox/patches/998-arping_missing_includes.patch')
-rw-r--r--package/busybox/patches/998-arping_missing_includes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/998-arping_missing_includes.patch b/package/busybox/patches/998-arping_missing_includes.patch
new file mode 100644
index 0000000000..07c7dd4c00
--- /dev/null
+++ b/package/busybox/patches/998-arping_missing_includes.patch
@@ -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>
+