summaryrefslogtreecommitdiff
blob: 0dffeeb9bdbb5ff3764213ff67ccb63a2e70c937 (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
https://github.com/tstack/lnav/pull/1112

From e25d3e3c69fcf57bbaec2333846b9a43c4d1fc90 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Sat, 21 Jan 2023 18:11:20 +0000
Subject: [PATCH] Fix build with GCC 13 (add missing <cstdint> include)

GCC 13 (as usual for new compiler releases) shuffles around some
internal includes and so <cstdint> is no longer transitively included.

Explicitly include <cstdint> for uint32_t.

Signed-off-by: Sam James <sam@gentoo.org>
--- a/src/base/lnav_log.hh
+++ b/src/base/lnav_log.hh
@@ -32,6 +32,7 @@
 #ifndef lnav_log_hh
 #define lnav_log_hh
 
+#include <cstdint>
 #include <string>
 
 #include <stdio.h>
-- 
2.39.1