diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-11-01 11:03:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 11:03:53 +0000 |
commit | ca58b3a0c183f899b7391d23d9b0a9d450c48597 (patch) | |
tree | cc10362a75da072126905ca9b3d7e9b3a6da012d | |
parent | 3a3c66d232b6e91e3baf8cf6c9c64b48d63e57a8 (diff) | |
parent | 249939dfcb2244ba83d5ceb2b50a0429f53b23f1 (diff) | |
download | rspamd-ca58b3a0c183f899b7391d23d9b0a9d450c48597.tar.gz rspamd-ca58b3a0c183f899b7391d23d9b0a9d450c48597.zip |
Merge pull request #4675 from arkamar/algorithm
[Minor] Add missing <algorithm> include for gcc 14
-rw-r--r-- | src/libmime/mime_string.hxx | 1 | ||||
-rw-r--r-- | src/libstat/backends/http_backend.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libmime/mime_string.hxx b/src/libmime/mime_string.hxx index 583a2c903..7476816c6 100644 --- a/src/libmime/mime_string.hxx +++ b/src/libmime/mime_string.hxx @@ -17,6 +17,7 @@ #define RSPAMD_MIME_STRING_HXX #pragma once +#include <algorithm> #include <string> #include <string_view> #include <memory> 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 { |