From 0a916c632e18e6686e1a2256d5ef2fe1a1cc239f Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Wed, 18 Jan 2023 23:54:24 +0100 Subject: [PATCH] Fix build with gcc 13 by including Like other versions before, gcc 13 moved some includes around and as a result is no longer transitively included. Explicitly include it for uint8_t. --- src/libserver/css/css_tokeniser.hxx | 1 + src/libserver/html/html_tag.hxx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libserver/css/css_tokeniser.hxx b/src/libserver/css/css_tokeniser.hxx index 8091ad624c..8974899748 100644 --- a/src/libserver/css/css_tokeniser.hxx +++ b/src/libserver/css/css_tokeniser.hxx @@ -24,6 +24,7 @@ #include #include #include +#include #include "mem_pool.h" namespace rspamd::css { diff --git a/src/libserver/html/html_tag.hxx b/src/libserver/html/html_tag.hxx index ba086be820..cb83502f55 100644 --- a/src/libserver/html/html_tag.hxx +++ b/src/libserver/html/html_tag.hxx @@ -23,6 +23,7 @@ #include #include #include +#include #include "html_tags.h"