From: William Lallemand Date: Tue, 28 Apr 2026 16:07:54 +0000 (+0200) Subject: BUILD: 51d: fix bool definition on dummy lib v4 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=HEAD;p=thirdparty%2Fhaproxy.git BUILD: 51d: fix bool definition on dummy lib v4 Modern compiler breaks when defining bool, false and true. Include instead. $ make -j$(nproc) TARGET=linux-glibc USE_51DEGREES=1 \ 51DEGREES_VER=4 51DEGREES_SRC=addons/51degrees/dummy/v4hash/ --- diff --git a/addons/51degrees/dummy/v4hash/hash/hash.h b/addons/51degrees/dummy/v4hash/hash/hash.h index 5d04d17662..5b114d26c8 100644 --- a/addons/51degrees/dummy/v4hash/hash/hash.h +++ b/addons/51degrees/dummy/v4hash/hash/hash.h @@ -40,8 +40,7 @@ #include #include -typedef int bool; -enum { false, true }; +#include typedef unsigned char byte;