[package] netfid: fix build on musl
[openwrt.git] / package / network / config / netifd / patches / 001-musl_af_inet_include.patch
1 diff -urN netifd-2012-10-29/utils.c netifd-2012-10-29.new/utils.c
2 --- netifd-2012-10-29/utils.c   2012-11-23 17:15:39.000000000 +0100
3 +++ netifd-2012-10-29.new/utils.c       2012-11-23 17:16:53.409244361 +0100
4 @@ -17,6 +17,7 @@
5  
6  #include <arpa/inet.h>
7  #include <netinet/in.h>
8 +#include <sys/socket.h>
9  
10  void
11  __vlist_simple_init(struct vlist_simple_tree *tree, int offset)