aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-11-23 20:02:10 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-11-23 20:02:10 +0000
commit94bdc366d45f03b701cc7370d50e50fb4bbd84ec (patch)
tree1c8c1cde458d374785b8412cdbebebaab69cad38 /package
parent7c26e53d5df8d458f720b2cde56a0e5fdecf22ce (diff)
downloadupstream-94bdc366d45f03b701cc7370d50e50fb4bbd84ec.tar.gz
upstream-94bdc366d45f03b701cc7370d50e50fb4bbd84ec.tar.bz2
upstream-94bdc366d45f03b701cc7370d50e50fb4bbd84ec.zip
netfid: fix build on musl
AF_INET* is provided by sys/socket.h Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34310
Diffstat (limited to 'package')
-rw-r--r--package/network/config/netifd/patches/001-musl_af_inet_include.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/config/netifd/patches/001-musl_af_inet_include.patch b/package/network/config/netifd/patches/001-musl_af_inet_include.patch
new file mode 100644
index 0000000000..510ee05647
--- /dev/null
+++ b/package/network/config/netifd/patches/001-musl_af_inet_include.patch
@@ -0,0 +1,11 @@
+diff -urN netifd-2012-10-29/utils.c netifd-2012-10-29.new/utils.c
+--- netifd-2012-10-29/utils.c 2012-11-23 17:15:39.000000000 +0100
++++ netifd-2012-10-29.new/utils.c 2012-11-23 17:16:53.409244361 +0100
+@@ -17,6 +17,7 @@
+
+ #include <arpa/inet.h>
+ #include <netinet/in.h>
++#include <sys/socket.h>
+
+ void
+ __vlist_simple_init(struct vlist_simple_tree *tree, int offset)