aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2013-01-15 16:37:33 +0100
committerBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2013-01-24 18:14:51 +0100
commit06782a3532ed8f33effd928d1a9466beaa0ba64b (patch)
tree0e8424c6fa37ed8e5670fbd3f9f62fad95aec71a
parent59b3d37a5726ea563a4cfe2bde9a975c3e2d7b90 (diff)
downloadbusybox-06782a3532ed8f33effd928d1a9466beaa0ba64b.tar.gz
busybox: Fix build of route on Android
<net/route.h> needs <sys/socket.h> included first for some typedefs on Android Change-Id: I9450364b2e280ffe7d85e6175483cacb84803f00 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--networking/route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/route.c b/networking/route.c
index 4235ea72c..66596c4a6 100644
--- a/networking/route.c
+++ b/networking/route.c
@@ -33,6 +33,7 @@
//usage: "\n -e Display other/more information"
//usage: "\n -A inet" IF_FEATURE_IPV6("{6}") " Select address family"
+#include <sys/socket.h>
#include <net/route.h>
#include <net/if.h>