summaryrefslogtreecommitdiff
path: root/package/iptables/patches/patch-extensions_libxt_pkttype_c
blob: b5f39a9007db1c17240d391ebcdbde98495d929f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>