summaryrefslogtreecommitdiff
path: root/package/libnfnetlink/patches/patch-include_libnfnetlink_linux_nfnetlink_compat_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-05 09:42:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-05 09:42:11 +0200
commit7762cd4b8597a42a8892d77bea8215a67fb5fbfc (patch)
tree9ca8a835269c4ea88e459dceb9cb7b846c059156 /package/libnfnetlink/patches/patch-include_libnfnetlink_linux_nfnetlink_compat_h
parent4a6ad2db912a848e9f94233ac5ca094065c741c4 (diff)
fix musl compile, update
Diffstat (limited to 'package/libnfnetlink/patches/patch-include_libnfnetlink_linux_nfnetlink_compat_h')
-rw-r--r--package/libnfnetlink/patches/patch-include_libnfnetlink_linux_nfnetlink_compat_h13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/libnfnetlink/patches/patch-include_libnfnetlink_linux_nfnetlink_compat_h b/package/libnfnetlink/patches/patch-include_libnfnetlink_linux_nfnetlink_compat_h
new file mode 100644
index 000000000..9ea8016a3
--- /dev/null
+++ b/package/libnfnetlink/patches/patch-include_libnfnetlink_linux_nfnetlink_compat_h
@@ -0,0 +1,13 @@
+--- libnfnetlink-1.0.1.orig/include/libnfnetlink/linux_nfnetlink_compat.h 2008-06-18 14:36:57.000000000 +0200
++++ libnfnetlink-1.0.1/include/libnfnetlink/linux_nfnetlink_compat.h 2014-04-05 09:33:12.251169468 +0200
+@@ -20,8 +20,8 @@
+
+ struct nfattr
+ {
+- u_int16_t nfa_len;
+- u_int16_t nfa_type; /* we use 15 bits for the type, and the highest
++ uint16_t nfa_len;
++ uint16_t nfa_type; /* we use 15 bits for the type, and the highest
+ * bit to indicate whether the payload is nested */
+ };
+