]> source.dussan.org Git - rspamd.git/commit
[Minor] Add missing <algorithm> include for gcc 14
authorPetr Vaněk <arkamar@atlas.cz>
Wed, 1 Nov 2023 10:28:53 +0000 (11:28 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 13 Nov 2023 11:03:19 +0000 (11:03 +0000)
commit3de1bf3abd6d7ef1f948bbceb7c9b123e0ccff2f
tree6255b1bb398a4eb84c85e5cf4d0d4dc93fcaa4f5
parentd6088e67d2721a0897a09a341325c6be25a0d325
[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>
src/libmime/mime_string.hxx
src/libstat/backends/http_backend.cxx