]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Add missing includes for Linux/GCC build
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 7 Feb 2026 13:34:27 +0000 (13:34 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 7 Feb 2026 13:34:27 +0000 (13:34 +0000)
Add <cctype> for std::tolower and <string> for std::string
in multipart_form.cxx. These are transitively included on
macOS/clang but not on Linux/GCC.

src/libserver/multipart_form.cxx

index e0db74168114ef2e92657687fd7ceb6d64d55644..3d85a34fb080f5ac5b1469faaf64b61827c427c7 100644 (file)
@@ -16,7 +16,9 @@
 
 #include "multipart_form.hxx"
 #include <algorithm>
+#include <cctype>
 #include <cstring>
+#include <string>
 
 namespace rspamd::http {