From f81c270327779cfeba3fef74705e6d89c7e7683e Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Wed, 23 Jul 2003 21:07:04 +0000 Subject: support sparc64 --- include/ebtables_u.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/ebtables_u.h b/include/ebtables_u.h index d17c4a4..914a0f9 100644 --- a/include/ebtables_u.h +++ b/include/ebtables_u.h @@ -26,6 +26,11 @@ #include #include +#ifndef EBT_MIN_ALIGN +#define EBT_MIN_ALIGN (__alignof__(struct ebt_entry_target)) +#endif +#define EBT_ALIGN(s) (((s) + (EBT_MIN_ALIGN-1)) & ~(EBT_MIN_ALIGN-1)) + struct ebt_u_entries { int policy; -- cgit v1.2.3