From: Willy Tarreau Date: Fri, 21 Feb 2020 16:40:25 +0000 (+0100) Subject: BUILD: fix recent build failure on unaligned archs X-Git-Tag: v2.2-dev3~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d43183d05f26e29fb0e75cf2b5f8a4ef47f8891d;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/ebtree/ebtree.h b/ebtree/ebtree.h index 0ba42f1ba0..6ac79d6108 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)