Skip to content

Commit

Permalink
Fix build with gcc 13 by including <cstdint>
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
heirecka committed Jan 19, 2023
1 parent a819525 commit 0a916c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libserver/css/css_tokeniser.hxx
Expand Up @@ -24,6 +24,7 @@
#include <variant>
#include <list>
#include <functional>
#include <cstdint>
#include "mem_pool.h"

namespace rspamd::css {
Expand Down
1 change: 1 addition & 0 deletions src/libserver/html/html_tag.hxx
Expand Up @@ -23,6 +23,7 @@
#include <variant>
#include <vector>
#include <optional>
#include <cstdint>

#include "html_tags.h"

Expand Down

0 comments on commit 0a916c6

Please sign in to comment.