From f61294dc6bd9fe65d584526138178a2419f3832a Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Tue, 12 Aug 2025 20:01:19 -0400 Subject: [PATCH] epee: include math header for upcoming Boost 1.89 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When building on Ubuntu 22.04 with GCC 11.4.0 and Boost 1.89.0.beta1, the build failed with: ``` error: ‘floor’ was not declared in this scope 41 | num_char = (int)floor((float)num_char / (float)radix); | ^~~~~ ``` Signed-off-by: Michael Cho --- contrib/epee/src/abstract_http_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/epee/src/abstract_http_client.cpp b/contrib/epee/src/abstract_http_client.cpp index 31a98260f..bd9cb0dde 100644 --- a/contrib/epee/src/abstract_http_client.cpp +++ b/contrib/epee/src/abstract_http_client.cpp @@ -1,3 +1,4 @@ +#include #include "net/abstract_http_client.h" #include "net/http_base.h" #include "net/net_parse_helpers.h"