From e27c111add99529483b22756b7718ee612eced20 Mon Sep 17 00:00:00 2001 From: Alexander <50661022+alexs-sh@users.noreply.github.com> Date: Wed, 27 Dec 2023 18:03:23 +0100 Subject: [PATCH] Add missing cstdint headers (#596) It fixes gcc13 builds by adding the missing header --- rts/Lua/LuaHashString.h | 1 + rts/Sim/Misc/BuildingMaskMap.h | 1 + rts/System/CRC.h | 1 + rts/System/Platform/Misc.h | 1 + rts/System/Sound/ISound.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/rts/Lua/LuaHashString.h b/rts/Lua/LuaHashString.h index 09e612a58fa..c8cf5b560f3 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 #include #include "LuaInclude.h" diff --git a/rts/Sim/Misc/BuildingMaskMap.h b/rts/Sim/Misc/BuildingMaskMap.h index 89351a36b0f..b06b30f7661 100644 --- a/rts/Sim/Misc/BuildingMaskMap.h +++ b/rts/Sim/Misc/BuildingMaskMap.h @@ -3,6 +3,7 @@ #ifndef BUILDINGMASKMAP_H #define BUILDINGMASKMAP_H +#include #include #include "System/creg/creg_cond.h" diff --git a/rts/System/CRC.h b/rts/System/CRC.h index 1abde22faa8..ee25b244e79 100644 --- a/rts/System/CRC.h +++ b/rts/System/CRC.h @@ -3,6 +3,7 @@ #ifndef CRC_H #define CRC_H +#include #include /** @brief An updateable CRC-32 checksum. */ diff --git a/rts/System/Platform/Misc.h b/rts/System/Platform/Misc.h index 37bb44fc2f4..e71e3d29820 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 #include #include diff --git a/rts/System/Sound/ISound.h b/rts/System/Sound/ISound.h index 2e978daf993..ead0a621e31 100644 --- a/rts/System/Sound/ISound.h +++ b/rts/System/Sound/ISound.h @@ -3,6 +3,7 @@ #ifndef _I_SOUND_H_ #define _I_SOUND_H_ +#include #include class float3; diff --git a/rts/System/SpringHashSet.hpp b/rts/System/SpringHashSet.hpp index 071a6c38601..75d817463f7 100644 --- a/rts/System/SpringHashSet.hpp +++ b/rts/System/SpringHashSet.hpp @@ -6,6 +6,7 @@ #pragma once +#include #include // malloc #include #include diff --git a/rts/System/StringUtil.h b/rts/System/StringUtil.h index e9ba35bb8ae..2298f4cbb2d 100644 --- a/rts/System/StringUtil.h +++ b/rts/System/StringUtil.h @@ -4,6 +4,7 @@ #define STRING_UTIL_H #include +#include #include #include #include diff --git a/rts/lib/luasocket/src/restrictions.cpp b/rts/lib/luasocket/src/restrictions.cpp index c9cbbfb1b0e..4ed3a81bb58 100644 --- a/rts/lib/luasocket/src/restrictions.cpp +++ b/rts/lib/luasocket/src/restrictions.cpp @@ -2,6 +2,7 @@ #include "restrictions.h" +#include #include #include "System/SafeUtil.h"