diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2009-06-21 12:23:36 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2009-06-21 12:23:36 +0000 |
commit | b2e67a095090c33fcbb0c6e3c1da38561e662d73 (patch) | |
tree | fafda3f8cf6baac0d326a86275900f01b24f509e /userspace/ebtables2/include | |
parent | 76bee55e3332e54d8befc5bfd49c5f20c0a57451 (diff) |
fix alignment on userspace32-kernel64 systems (Sachin Sanap)
Diffstat (limited to 'userspace/ebtables2/include')
-rw-r--r-- | userspace/ebtables2/include/ebtables_u.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/userspace/ebtables2/include/ebtables_u.h b/userspace/ebtables2/include/ebtables_u.h index 3ba8c05..910c213 100644 --- a/userspace/ebtables2/include/ebtables_u.h +++ b/userspace/ebtables2/include/ebtables_u.h @@ -25,6 +25,7 @@ #define EBTABLES_U_H #include <netinet/in.h> #include <linux/netfilter_bridge/ebtables.h> +#include <linux/netfilter/x_tables.h> #ifndef IPPROTO_SCTP #define IPPROTO_SCTP 132 @@ -37,7 +38,7 @@ #define EXEC_STYLE_DAEMON 1 #ifndef EBT_MIN_ALIGN -#define EBT_MIN_ALIGN (__alignof__(struct ebt_entry_target)) +#define EBT_MIN_ALIGN (__alignof__(struct _xt_align)) #endif #define EBT_ALIGN(s) (((s) + (EBT_MIN_ALIGN-1)) & ~(EBT_MIN_ALIGN-1)) #define ERRORMSG_MAXLEN 128 |