From b2e67a095090c33fcbb0c6e3c1da38561e662d73 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sun, 21 Jun 2009 12:23:36 +0000 Subject: fix alignment on userspace32-kernel64 systems (Sachin Sanap) --- userspace/ebtables2/include/ebtables_u.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include +#include #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 -- cgit v1.2.3