From fcebc2d4f625244270b2c85428e3c8ea153ed928 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Thu, 30 Apr 2026 18:52:31 +0400 Subject: [PATCH] Exposed MHD_VERSION to test/server.cpp It turns out that the C preprocessor doesn't complain about undefined macros used in the arithmetic expressions in `#if` directives (treating those conditions simply as not satisfied). As a result, PR #1293 had a slightly different effect from that which was intended. Now taking the opportunity to correct that subtle mistake. --- test/server.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/server.cpp b/test/server.cpp index b7bb415f..6b8b20eb 100644 --- a/test/server.cpp +++ b/test/server.cpp @@ -9,6 +9,9 @@ #include "../src/tools/stringTools.h" #include "testing_tools.h" + +#include "../src/server/microhttpd_wrapper.h" // for MHD_VERSION + using namespace kiwix::testing; const std::string ROOT_PREFIX("/ROOT%23%3F");