mirror of
https://github.com/monero-project/monero
synced 2025-10-06 00:32:44 +02:00
epee: include math header for upcoming Boost 1.89
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 <michael@michaelcho.dev>
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
#include <math.h>
|
||||||
#include "net/abstract_http_client.h"
|
#include "net/abstract_http_client.h"
|
||||||
#include "net/http_base.h"
|
#include "net/http_base.h"
|
||||||
#include "net/net_parse_helpers.h"
|
#include "net/net_parse_helpers.h"
|
||||||
|
Reference in New Issue
Block a user