netfid: fix build on musl

AF_INET* is provided by sys/socket.h

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34310
This commit is contained in:
Florian Fainelli 2012-11-23 20:02:10 +00:00
parent 7c26e53d5d
commit 94bdc366d4

View file

@ -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)