diff options
-rw-r--r-- | include/ebtables_u.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ebtables_u.h b/include/ebtables_u.h index 3ba8c05..910c213 100644 --- a/include/ebtables_u.h +++ b/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 |