]> source.dussan.org Git - rspamd.git/commitdiff
Fix build with gcc 13 by including <cstdint> 4375/head
authorHeiko Becker <heirecka@exherbo.org>
Wed, 18 Jan 2023 22:54:24 +0000 (23:54 +0100)
committerHeiko Becker <heirecka@exherbo.org>
Thu, 19 Jan 2023 14:12:18 +0000 (15:12 +0100)
Like other versions before, gcc 13 moved some includes around and as a
result <cstdint> is no longer transitively included. Explicitly include
it for uint8_t.

src/libserver/css/css_tokeniser.hxx
src/libserver/html/html_tag.hxx

index 8091ad624c7eb5789e9f9c978226778960ebd410..8974899748095c085ce76496826f18dcfd70dcee 100644 (file)
@@ -24,6 +24,7 @@
 #include <variant>
 #include <list>
 #include <functional>
+#include <cstdint>
 #include "mem_pool.h"
 
 namespace rspamd::css {
index ba086be820d8bbedc734efbef012482fb0490b3d..cb83502f55a4a957aaa338e291550285cc5ec060 100644 (file)
@@ -23,6 +23,7 @@
 #include <variant>
 #include <vector>
 #include <optional>
+#include <cstdint>
 
 #include "html_tags.h"