summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libmime/mime_string.hxx1
-rw-r--r--src/libstat/backends/http_backend.cxx1
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 {