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:
parent
7c26e53d5d
commit
94bdc366d4
1 changed files with 11 additions and 0 deletions
|
@ -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 a new issue