aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-11-23 20:02:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-11-23 20:02:14 +0000
commit92fd6e6f1a93614ef5c5f0d960f67fb110bf8d2e (patch)
tree86aab985fe9db7cf7081bb7f2f460fb4ba1ef629 /package/busybox/patches
parent94bdc366d45f03b701cc7370d50e50fb4bbd84ec (diff)
downloadupstream-92fd6e6f1a93614ef5c5f0d960f67fb110bf8d2e.tar.gz
upstream-92fd6e6f1a93614ef5c5f0d960f67fb110bf8d2e.tar.bz2
upstream-92fd6e6f1a93614ef5c5f0d960f67fb110bf8d2e.zip
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
Diffstat (limited to 'package/busybox/patches')
-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>
+