spring/spring-106.0-gcc-13.patch

97 lines
2.5 KiB
Diff
Raw Permalink Normal View History

diff --git a/AI/Skirmish/CircuitAI/src/circuit/util/MaskHandler.h b/AI/Skirmish/CircuitAI/src/circuit/util/MaskHandler.h
index 7bde5c3..970080e 100644
--- a/AI/Skirmish/CircuitAI/src/circuit/util/MaskHandler.h
+++ b/AI/Skirmish/CircuitAI/src/circuit/util/MaskHandler.h
@@ -8,6 +8,7 @@
#ifndef SRC_CIRCUIT_UTIL_MASKHANDLER_H_
#define SRC_CIRCUIT_UTIL_MASKHANDLER_H_
+#include <cstdint>
#include <string>
#include <vector>
#include <unordered_map>
diff --git a/rts/Lua/LuaHashString.h b/rts/Lua/LuaHashString.h
index 09e612a..c8cf5b5 100644
--- a/rts/Lua/LuaHashString.h
+++ b/rts/Lua/LuaHashString.h
@@ -3,6 +3,7 @@
#ifndef LUA_HASH_STRING_H
#define LUA_HASH_STRING_H
+#include <cstdint>
#include <string>
#include "LuaInclude.h"
diff --git a/rts/Sim/Misc/BuildingMaskMap.h b/rts/Sim/Misc/BuildingMaskMap.h
index 89351a3..b06b30f 100644
--- a/rts/Sim/Misc/BuildingMaskMap.h
+++ b/rts/Sim/Misc/BuildingMaskMap.h
@@ -3,6 +3,7 @@
#ifndef BUILDINGMASKMAP_H
#define BUILDINGMASKMAP_H
+#include <cstdint>
#include <vector>
#include "System/creg/creg_cond.h"
diff --git a/rts/System/CRC.h b/rts/System/CRC.h
index 1abde22..ee25b24 100644
--- a/rts/System/CRC.h
+++ b/rts/System/CRC.h
@@ -3,6 +3,7 @@
#ifndef CRC_H
#define CRC_H
+#include <cstdint>
#include <string>
/** @brief An updateable CRC-32 checksum. */
diff --git a/rts/System/Platform/Misc.h b/rts/System/Platform/Misc.h
index 37bb44f..e71e3d2 100644
--- a/rts/System/Platform/Misc.h
+++ b/rts/System/Platform/Misc.h
@@ -3,6 +3,7 @@
#ifndef PLATFORM_MISC_H
#define PLATFORM_MISC_H
+#include <cstdint>
#include <string>
#include <array>
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..4ed3a81 100644
--- a/rts/lib/luasocket/src/restrictions.cpp
+++ b/rts/lib/luasocket/src/restrictions.cpp
@@ -2,6 +2,7 @@
#include "restrictions.h"
+#include <cstdint>
#include <string>
#include "System/SafeUtil.h"