]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
build: Fix FTBFS with not yet released GCC 13
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 5 Jul 2022 19:42:58 +0000 (21:42 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 20 Aug 2022 11:59:14 +0000 (13:59 +0200)
Reference: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Fixes #1105.

(cherry picked from commit 19ef6e267d38d4d8b3e11c915213472d5662d593)

src/Stat.hpp
src/core/CacheEntryHeader.hpp
src/core/Sloppiness.hpp
src/core/Statistics.hpp
src/util/TextTable.hpp

index 47a0854811ce3f9336a4fb487ba6fa1578418150..53aed648f9a9b77370943fe6e15c91e24a7c1df0 100644 (file)
@@ -23,6 +23,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
+#include <cstdint>
 #include <ctime>
 #include <string>
 
index 4c3e04c737d0a82ada52a278d77a058a3d1ef137..dcc32e1c69b16cfdedd0fb8ee626e0d29bab4180 100644 (file)
@@ -21,6 +21,8 @@
 #include <compression/types.hpp>
 #include <core/types.hpp>
 
+#include <cstdint>
+
 // Cache entry format
 // ==================
 //
index fc4cff5cf5ba71a0599f9cd49174fa41bcfa5386..69d3dfacecc5e15079b04d42d159d5abeec71ef8 100644 (file)
@@ -18,6 +18,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include <string>
 
 namespace core {
index 3e9ed816d9ca7b72c00197f6acf78029d78e6ff2..54f32e9c67e79ec4cedd8a25cf830dd481add906 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020-2021 Joel Rosdahl and other contributors
+// Copyright (C) 2020-2022 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -20,6 +20,7 @@
 
 #include <core/StatisticsCounters.hpp>
 
+#include <cstdint>
 #include <string>
 #include <unordered_map>
 #include <vector>
index 05c0e0e57d1a39544f18e80e6b3a9fcc93aceb35..60edee75b416bdeea2d73233c0a39d7c71bbdb5d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021 Joel Rosdahl and other contributors
+// Copyright (C) 2021-2022 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -18,6 +18,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include <string>
 #include <vector>