aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-09 13:47:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-09 13:47:56 +0000
commit4a5380c1f4b1369ad07ce04c81d515fdfc671cee (patch)
treefcd4b001b0dc0c401c759bb5076d84a61374d951
parent3dfa8a386c6986e5c7ff2f9e27d5148ae0b949cf (diff)
downloadupstream-4a5380c1f4b1369ad07ce04c81d515fdfc671cee.tar.gz
upstream-4a5380c1f4b1369ad07ce04c81d515fdfc671cee.tar.bz2
upstream-4a5380c1f4b1369ad07ce04c81d515fdfc671cee.zip
libnfnetlink: fix musl compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41061 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/libs/libnfnetlink/patches/100-missing_include.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/libs/libnfnetlink/patches/100-missing_include.patch b/package/libs/libnfnetlink/patches/100-missing_include.patch
new file mode 100644
index 0000000000..68155c3005
--- /dev/null
+++ b/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>