[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-a3cf2f4a3e73master
parent
d7ee83152b
commit
331832ea11
|
@ -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)
|
Loading…
Reference in New Issue