From b2084bd720564c4027cae5cf5da63fc204748a7d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 7 Sep 2024 15:04:19 +0100 Subject: [PATCH] lib/wzmaplib: add missing `` includes Without the change the build on upcoming `gcc-15` fails as: In file included from /build/warzone2100/lib/wzmaplib/src/map_script.cpp:20: /build/warzone2100/lib/wzmaplib/src/map_script.h:31:97: error: 'uint32_t' has not been declared 31 | std::shared_ptr runMapScript(const std::vector& fileBuffer, const std::string &path, uint32_t seed, bool preview, LoggingProtocol* pCustomLogger = nullptr); | ^~~~~~~~ --- lib/wzmaplib/include/wzmaplib/map_io.h | 1 + lib/wzmaplib/src/map_script.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/wzmaplib/include/wzmaplib/map_io.h b/lib/wzmaplib/include/wzmaplib/map_io.h index cc7efdb670c..02ee292f496 100644 --- a/lib/wzmaplib/include/wzmaplib/map_io.h +++ b/lib/wzmaplib/include/wzmaplib/map_io.h @@ -21,6 +21,7 @@ #pragma once #include +#include #include #include #include diff --git a/lib/wzmaplib/src/map_script.h b/lib/wzmaplib/src/map_script.h index 1de3a0250b9..6a98b2fb834 100644 --- a/lib/wzmaplib/src/map_script.h +++ b/lib/wzmaplib/src/map_script.h @@ -19,6 +19,7 @@ #pragma once +#include #include #include #include