]> source.dussan.org Git - rspamd.git/commit
[Minor] Add missing <algorithm> include for gcc 14 4675/head
authorPetr Vaněk <arkamar@atlas.cz>
Wed, 1 Nov 2023 10:28:53 +0000 (11:28 +0100)
committerPetr Vaněk <arkamar@atlas.cz>
Wed, 1 Nov 2023 10:56:57 +0000 (11:56 +0100)
commit249939dfcb2244ba83d5ceb2b50a0429f53b23f1
treecc10362a75da072126905ca9b3d7e9b3a6da012d
parent3a3c66d232b6e91e3baf8cf6c9c64b48d63e57a8
[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