summarylogtreecommitdiffstats
path: root/0001-Fix-build-with-GCC-13-1124.patch
blob: f795aeccdb64015f2876ed6586de94ca8db32687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 481f08199ca31c60c9a3475f1064e6b06a503d12 Mon Sep 17 00:00:00 2001
From: Sam James <sam@cmpct.info>
Date: Wed, 26 Apr 2023 13:22:43 +0100
Subject: [PATCH] Fix build with GCC 13 (#1124)

GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some
are no longer transitively included.

See https://gnu.org/software/gcc/gcc-13/porting_to.html.

Bug: https://bugs.gentoo.org/894742
---
 common/sample_format.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/sample_format.hpp b/common/sample_format.hpp
index 900655f7..b68d00a3 100644
--- a/common/sample_format.hpp
+++ b/common/sample_format.hpp
@@ -19,6 +19,7 @@
 #ifndef SAMPLE_FORMAT_H
 #define SAMPLE_FORMAT_H
 
+#include <cstdint>
 #include <string>
 
 
-- 
2.41.0