Browse Source

libnfnetlink: fix musl compile errors

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 41061
Felix Fietkau 11 years ago
parent
commit
24662e6122
1 changed files with 10 additions and 0 deletions
  1. 10 0
      package/libs/libnfnetlink/patches/100-missing_include.patch

+ 10 - 0
package/libs/libnfnetlink/patches/100-missing_include.patch

@@ -0,0 +1,10 @@
+--- a/include/libnfnetlink/libnfnetlink.h
++++ b/include/libnfnetlink/libnfnetlink.h
+@@ -15,6 +15,7 @@
+ #define aligned_u64 unsigned long long __attribute__((aligned(8)))
+ #endif
+ 
++#include <sys/types.h>
+ #include <sys/socket.h>	/* for sa_family_t */
+ #include <linux/netlink.h>
+ #include <libnfnetlink/linux_nfnetlink.h>