summaryrefslogtreecommitdiff
path: root/package/iptables/patches/patch-extensions_libxt_pkttype_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/iptables/patches/patch-extensions_libxt_pkttype_c')
-rw-r--r--package/iptables/patches/patch-extensions_libxt_pkttype_c14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/iptables/patches/patch-extensions_libxt_pkttype_c b/package/iptables/patches/patch-extensions_libxt_pkttype_c
new file mode 100644
index 000000000..b5f39a900
--- /dev/null
+++ b/package/iptables/patches/patch-extensions_libxt_pkttype_c
@@ -0,0 +1,14 @@
+--- iptables-1.4.12.2.orig/extensions/libxt_pkttype.c 2012-01-02 18:19:09.000000000 +0100
++++ iptables-1.4.12.2/extensions/libxt_pkttype.c 2012-03-17 13:49:29.651581491 +0100
+@@ -4,6 +4,11 @@
+ *
+ * Michal Ludvig <michal@logix.cz>
+ */
++
++#define __aligned_u64 __u64 __attribute__((aligned(8)))
++#define __aligned_be64 __be64 __attribute__((aligned(8)))
++#define __aligned_le64 __le64 __attribute__((aligned(8)))
++
+ #include <stdio.h>
+ #include <string.h>
+ #include <xtables.h>