diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2023-11-01 11:28:53 +0100 |
---|---|---|
committer | Petr Vaněk <arkamar@atlas.cz> | 2023-11-01 11:56:57 +0100 |
commit | 249939dfcb2244ba83d5ceb2b50a0429f53b23f1 (patch) | |
tree | cc10362a75da072126905ca9b3d7e9b3a6da012d /src/libstat | |
parent | 3a3c66d232b6e91e3baf8cf6c9c64b48d63e57a8 (diff) | |
download | rspamd-249939dfcb2244ba83d5ceb2b50a0429f53b23f1.tar.gz rspamd-249939dfcb2244ba83d5ceb2b50a0429f53b23f1.zip |
[Minor] Add missing <algorithm> include for gcc 14
This commit addresses a compilation issue when using GCC 14. According
to GCC 14's porting guide [1], some C++ Standard Library headers no
longer include other headers they used to use internally. Specifically,
<algorithm> must now be explicitly included.
[1] https://gcc.gnu.org/gcc-14/porting_to.html
See-also: https://bugs.gentoo.org/916438
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/backends/http_backend.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/backends/http_backend.cxx b/src/libstat/backends/http_backend.cxx index 3b2e3efe0..075e50870 100644 --- a/src/libstat/backends/http_backend.cxx +++ b/src/libstat/backends/http_backend.cxx @@ -20,6 +20,7 @@ #include "libserver/mempool_vars_internal.h" #include "upstream.h" #include "contrib/ankerl/unordered_dense.h" +#include <algorithm> #include <vector> namespace rspamd::stat::http { |