From: Markus Koschany <apo@debian.org>
Date: Fri, 1 Sep 2023 14:13:46 +0200
Subject: gcc13

Forward: yes (SpringRTS bug tracker on springrts.com)
---
 AI/Skirmish/CircuitAI/src/circuit/util/MaskHandler.h | 1 +
 rts/Lua/LuaHashString.h                              | 1 +
 rts/Sim/Misc/BuildingMaskMap.h                       | 1 +
 rts/System/CRC.h                                     | 1 +
 rts/System/Platform/Misc.h                           | 1 +
 rts/System/SpringHashSet.hpp                         | 1 +
 rts/System/StringUtil.h                              | 1 +
 rts/lib/luasocket/src/restrictions.cpp               | 1 +
 8 files changed, 8 insertions(+)

diff --git a/AI/Skirmish/CircuitAI/src/circuit/util/MaskHandler.h b/AI/Skirmish/CircuitAI/src/circuit/util/MaskHandler.h
index 7bde5c3..78a3215 100644
--- a/AI/Skirmish/CircuitAI/src/circuit/util/MaskHandler.h
+++ b/AI/Skirmish/CircuitAI/src/circuit/util/MaskHandler.h
@@ -11,6 +11,7 @@
 #include <string>
 #include <vector>
 #include <unordered_map>
+#include <cstdint>
 
 namespace circuit {
 
diff --git a/rts/Lua/LuaHashString.h b/rts/Lua/LuaHashString.h
index 09e612a..5bfe258 100644
--- a/rts/Lua/LuaHashString.h
+++ b/rts/Lua/LuaHashString.h
@@ -4,6 +4,7 @@
 #define LUA_HASH_STRING_H
 
 #include <string>
+#include <cstdint>
 
 #include "LuaInclude.h"
 #include "System/StringHash.h"
diff --git a/rts/Sim/Misc/BuildingMaskMap.h b/rts/Sim/Misc/BuildingMaskMap.h
index 89351a3..c2608da 100644
--- a/rts/Sim/Misc/BuildingMaskMap.h
+++ b/rts/Sim/Misc/BuildingMaskMap.h
@@ -4,6 +4,7 @@
 #define BUILDINGMASKMAP_H
 
 #include <vector>
+#include <cstdint>
 
 #include "System/creg/creg_cond.h"
 
diff --git a/rts/System/CRC.h b/rts/System/CRC.h
index 1abde22..6752c38 100644
--- a/rts/System/CRC.h
+++ b/rts/System/CRC.h
@@ -4,6 +4,7 @@
 #define CRC_H
 
 #include <string>
+#include <cstdint>
 
 /** @brief An updateable CRC-32 checksum. */
 class CRC
diff --git a/rts/System/Platform/Misc.h b/rts/System/Platform/Misc.h
index 37bb44f..ccac951 100644
--- a/rts/System/Platform/Misc.h
+++ b/rts/System/Platform/Misc.h
@@ -5,6 +5,7 @@
 
 #include <string>
 #include <array>
+#include <cstdint>
 
 namespace Platform
 {
diff --git a/rts/System/SpringHashSet.hpp b/rts/System/SpringHashSet.hpp
index 071a6c3..bb79364 100644
--- a/rts/System/SpringHashSet.hpp
+++ b/rts/System/SpringHashSet.hpp
@@ -7,6 +7,7 @@
 #pragma once
 
 #include <cstdlib> // malloc
+#include <cstdint>
 #include <iterator>
 #include <utility>
 #include <algorithm>
diff --git a/rts/System/StringUtil.h b/rts/System/StringUtil.h
index e9ba35b..6a6b9d3 100644
--- a/rts/System/StringUtil.h
+++ b/rts/System/StringUtil.h
@@ -5,6 +5,7 @@
 
 #include <algorithm>
 #include <cstring>
+#include <cstdint>
 #include <string>
 #include <sstream>
 #include <vector>
diff --git a/rts/lib/luasocket/src/restrictions.cpp b/rts/lib/luasocket/src/restrictions.cpp
index c9cbbfb..c7e8053 100644
--- a/rts/lib/luasocket/src/restrictions.cpp
+++ b/rts/lib/luasocket/src/restrictions.cpp
@@ -3,6 +3,7 @@
 #include "restrictions.h"
 
 #include <string>
+#include <cstdint>
 
 #include "System/SafeUtil.h"
 #include "System/Log/ILog.h"
