diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-23 20:02:10 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-23 20:02:10 +0000 |
commit | 7b8728688e4b4c2115383617e0fa7854c9bad2cf (patch) | |
tree | 58728549a970f83c7c50ed4e8f52ec0c337e7d2e | |
parent | d5d0c29c38ceac4a62529d297a6dd094b747f16f (diff) |
[package] netfid: fix build on musl
AF_INET* is provided by sys/socket.h
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34310 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/network/config/netifd/patches/001-musl_af_inet_include.patch | 11 |
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 000000000..510ee0564 --- /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) |