From d43183d05f26e29fb0e75cf2b5f8a4ef47f8891d Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 21 Feb 2020 17:40:25 +0100 Subject: [PATCH] BUILD: fix recent build failure on unaligned archs Last commit 2c315ee ("BUG/MEDIUM: ebtree: don't set attribute packed without unaligned access support") accidently enclosed the semicolon in the ifdef so it will fail when HA_UNALIGNED is not set. --- ebtree/ebtree.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ebtree/ebtree.h b/ebtree/ebtree.h index 0ba42f1ba..6ac79d610 100644 --- a/ebtree/ebtree.h +++ b/ebtree/ebtree.h @@ -381,8 +381,9 @@ struct eb_node { short unsigned int pfx; /* data prefix length, always related to leaf */ } #ifdef HA_UNALIGNED - __attribute__((packed)); + __attribute__((packed)) #endif + ; /* Return the structure of type whose member points to */ #define eb_entry(ptr, type, member) container_of(ptr, type, member)