summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-20 18:57:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-20 18:57:12 +0200
commit8c8b4a744c7a019d2b4834c6dd2d6e57dce78bdb (patch)
tree8158e2c60658e1ee9749eccc298ff7581ba58f1f
parent3cac6b11b1248fb63eae9e4fc64e41e9d8c8eb1b (diff)
fix musl compile
-rw-r--r--package/libnfnetlink/patches/patch-include_libnfnetlink_libnfnetlink_h10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/libnfnetlink/patches/patch-include_libnfnetlink_libnfnetlink_h b/package/libnfnetlink/patches/patch-include_libnfnetlink_libnfnetlink_h
new file mode 100644
index 000000000..679be187d
--- /dev/null
+++ b/package/libnfnetlink/patches/patch-include_libnfnetlink_libnfnetlink_h
@@ -0,0 +1,10 @@
+--- libnfnetlink-1.0.1.orig/include/libnfnetlink/libnfnetlink.h 2010-05-09 23:31:56.000000000 +0200
++++ libnfnetlink-1.0.1/include/libnfnetlink/libnfnetlink.h 2013-08-20 18:44:17.220339451 +0200
+@@ -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>