diff -up widelands-1.1/src/base/md5.h~ widelands-1.1/src/base/md5.h
--- widelands-1.1/src/base/md5.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/base/md5.h 2023-03-27 21:28:34.494634126 +0200
@@ -22,6 +22,7 @@
#include <cassert>
#include <cstring>
+#include <cstdint>
#include <string>
/* Structure to save state of computation between the single steps. */
diff -up widelands-1.1/src/build_info.h~ widelands-1.1/src/build_info.h
--- widelands-1.1/src/build_info.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/build_info.h 2023-03-27 21:24:21.545738695 +0200
@@ -20,6 +20,7 @@
#define WL_BUILD_INFO_H
#include <string>
+#include <cstdint>
constexpr uint16_t kWidelandsCopyrightStart = 2002;
// If the following line is changed, the corresponding regex in 'utils/update_copyright.py' will
diff -up widelands-1.1/src/graphic/align.h~ widelands-1.1/src/graphic/align.h
--- widelands-1.1/src/graphic/align.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/graphic/align.h 2023-03-27 21:37:50.732994947 +0200
@@ -19,6 +19,7 @@
#ifndef WL_GRAPHIC_ALIGN_H
#define WL_GRAPHIC_ALIGN_H
+#include <cstdint>
#include <string>
#include "base/rect.h"
diff -up widelands-1.1/src/base/random.h~ widelands-1.1/src/base/random.h
--- widelands-1.1/src/base/random.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/base/random.h 2023-03-27 21:40:08.219843589 +0200
@@ -20,6 +20,7 @@
#define WL_BASE_RANDOM_H
#include <cassert>
+#include <cstdint>
#include <string>
extern const uint32_t rng_sbox[256];
diff -up widelands-1.1/src/io/filesystem/zip_filesystem.h~ widelands-1.1/src/io/filesystem/zip_filesystem.h
--- widelands-1.1/src/io/filesystem/zip_filesystem.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/io/filesystem/zip_filesystem.h 2023-03-27 21:46:36.709590151 +0200
@@ -23,6 +23,7 @@
#include <unzip.h>
#include <zip.h>
+#include <zlib.h>
#include "io/filesystem/filesystem.h"
#include "io/streamread.h"
diff -up widelands-1.1/src/base/time_string.h~ widelands-1.1/src/base/time_string.h
--- widelands-1.1/src/base/time_string.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/base/time_string.h 2023-03-27 22:28:19.024604798 +0200
@@ -19,6 +19,7 @@
#ifndef WL_BASE_TIME_STRING_H
#define WL_BASE_TIME_STRING_H
+#include <cstdint>
#include <string>
/// Get a string representation conforming to ISO 8601 of the current time (in
diff -up widelands-1.1/src/logic/generic_save_handler.h~ widelands-1.1/src/logic/generic_save_handler.h
--- widelands-1.1/src/logic/generic_save_handler.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/generic_save_handler.h 2023-03-27 22:32:49.724403544 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_GENERIC_SAVE_HANDLER_H
#define WL_LOGIC_GENERIC_SAVE_HANDLER_H
+#include <cstdint>
#include <functional>
#include "io/filesystem/filesystem.h"
diff -up widelands-1.1/src/scripting/persistence.h~ widelands-1.1/src/scripting/persistence.h
--- widelands-1.1/src/scripting/persistence.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/scripting/persistence.h 2023-03-27 22:39:15.022270365 +0200
@@ -19,6 +19,8 @@
#ifndef WL_SCRIPTING_PERSISTENCE_H
#define WL_SCRIPTING_PERSISTENCE_H
+#include <cstdint>
+
#include "scripting/lua.h"
class FileRead;
diff -up widelands-1.1/src/map_io/map_elemental_packet.h~ widelands-1.1/src/map_io/map_elemental_packet.h
--- widelands-1.1/src/map_io/map_elemental_packet.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/map_io/map_elemental_packet.h 2023-03-27 22:44:03.699928430 +0200
@@ -19,6 +19,7 @@
#ifndef WL_MAP_IO_MAP_ELEMENTAL_PACKET_H
#define WL_MAP_IO_MAP_ELEMENTAL_PACKET_H
+#include <cstdint>
#include <string>
#include <vector>
diff -up widelands-1.1/src/logic/save_handler.h~ widelands-1.1/src/logic/save_handler.h
--- widelands-1.1/src/logic/save_handler.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/save_handler.h 2023-03-27 22:53:07.898560634 +0200
@@ -19,6 +19,8 @@
#ifndef WL_LOGIC_SAVE_HANDLER_H
#define WL_LOGIC_SAVE_HANDLER_H
+#include <cstdint>
+
#include "io/filesystem/filesystem.h"
namespace Widelands {
diff -up widelands-1.1/src/logic/map_revision.h~ widelands-1.1/src/logic/map_revision.h
--- widelands-1.1/src/logic/map_revision.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/map_revision.h 2023-03-27 22:57:27.966473320 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_MAP_REVISION_H
#define WL_LOGIC_MAP_REVISION_H
+#include <cstdint>
#include <string>
namespace Widelands {
diff -up widelands-1.1/src/logic/addons.h~ widelands-1.1/src/logic/addons.h
--- widelands-1.1/src/logic/addons.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/addons.h 2023-03-27 22:58:16.316085244 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_ADDONS_H
#define WL_LOGIC_ADDONS_H
+#include <cstdint>
#include <ctime>
#include <functional>
#include <map>
diff -up widelands-1.1/src/logic/ai_dna_handler.h~ widelands-1.1/src/logic/ai_dna_handler.h
--- widelands-1.1/src/logic/ai_dna_handler.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/ai_dna_handler.h 2023-03-27 22:58:21.068047105 +0200
@@ -19,6 +19,8 @@
#ifndef WL_LOGIC_AI_DNA_HANDLER_H
#define WL_LOGIC_AI_DNA_HANDLER_H
+#include <cstdint>
+
#include "logic/player.h"
namespace Widelands {
diff -up widelands-1.1/src/logic/cmd_queue.h~ widelands-1.1/src/logic/cmd_queue.h
--- widelands-1.1/src/logic/cmd_queue.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/cmd_queue.h 2023-03-27 22:58:25.692009993 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_CMD_QUEUE_H
#define WL_LOGIC_CMD_QUEUE_H
+#include <cstdint>
#include <queue>
#include "base/times.h"
diff -up widelands-1.1/src/logic/game.h~ widelands-1.1/src/logic/game.h
--- widelands-1.1/src/logic/game.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/game.h 2023-03-27 22:58:30.387972304 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_GAME_H
#define WL_LOGIC_GAME_H
+#include <cstdint>
#include <memory>
#include "base/md5.h"
diff -up widelands-1.1/src/logic/game_controller.h~ widelands-1.1/src/logic/game_controller.h
--- widelands-1.1/src/logic/game_controller.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/game_controller.h 2023-03-27 22:58:37.804912776 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_GAME_CONTROLLER_H
#define WL_LOGIC_GAME_CONTROLLER_H
+#include <cstdint>
#include <string>
#include "base/times.h"
diff -up widelands-1.1/src/logic/game_settings.h~ widelands-1.1/src/logic/game_settings.h
--- widelands-1.1/src/logic/game_settings.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/game_settings.h 2023-03-27 22:58:42.244877140 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_GAME_SETTINGS_H
#define WL_LOGIC_GAME_SETTINGS_H
+#include <cstdint>
#include <memory>
#include <string>
diff -up widelands-1.1/src/logic/map.h~ widelands-1.1/src/logic/map.h
--- widelands-1.1/src/logic/map.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/map.h 2023-03-27 22:58:50.229813053 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_MAP_H
#define WL_LOGIC_MAP_H
+#include <cstdint>
#include <map>
#include <memory>
#include <set>
diff -up widelands-1.1/src/logic/mapastar.h~ widelands-1.1/src/logic/mapastar.h
--- widelands-1.1/src/logic/mapastar.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/mapastar.h 2023-03-27 22:58:56.220764976 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_MAPASTAR_H
#define WL_LOGIC_MAPASTAR_H
+#include <cstdint>
#include <memory>
#include "logic/map.h"
diff -up widelands-1.1/src/logic/maphollowregion.h~ widelands-1.1/src/logic/maphollowregion.h
--- widelands-1.1/src/logic/maphollowregion.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/maphollowregion.h 2023-03-27 22:59:00.125733634 +0200
@@ -19,6 +19,8 @@
#ifndef WL_LOGIC_MAPHOLLOWREGION_H
#define WL_LOGIC_MAPHOLLOWREGION_H
+#include <cstdint>
+
#include "logic/map.h"
namespace Widelands {
diff -up widelands-1.1/src/logic/message_queue.h~ widelands-1.1/src/logic/message_queue.h
--- widelands-1.1/src/logic/message_queue.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/message_queue.h 2023-03-27 22:59:06.236684594 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_MESSAGE_QUEUE_H
#define WL_LOGIC_MESSAGE_QUEUE_H
+#include <cstdint>
#include <cassert>
#include <memory>
diff -up widelands-1.1/src/logic/pathfield.h~ widelands-1.1/src/logic/pathfield.h
--- widelands-1.1/src/logic/pathfield.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/pathfield.h 2023-03-27 22:59:09.948654805 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_PATHFIELD_H
#define WL_LOGIC_PATHFIELD_H
+#include <cstdint>
#include <memory>
#include "logic/cookie_priority_queue.h"
diff -up widelands-1.1/src/logic/player.h~ widelands-1.1/src/logic/player.h
--- widelands-1.1/src/logic/player.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/player.h 2023-03-27 22:59:14.012622187 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_PLAYER_H
#define WL_LOGIC_PLAYER_H
+#include <cstdint>
#include <atomic>
#include <memory>
diff -up widelands-1.1/src/logic/playercommand.h~ widelands-1.1/src/logic/playercommand.h
--- widelands-1.1/src/logic/playercommand.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/playercommand.h 2023-03-27 22:59:17.612593293 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_PLAYERCOMMAND_H
#define WL_LOGIC_PLAYERCOMMAND_H
+#include <cstdint>
#include <memory>
#include "economy/flag.h"
diff -up widelands-1.1/src/logic/replay_game_controller.h~ widelands-1.1/src/logic/replay_game_controller.h
--- widelands-1.1/src/logic/replay_game_controller.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/replay_game_controller.h 2023-03-27 22:59:21.420562726 +0200
@@ -19,6 +19,7 @@
#ifndef WL_LOGIC_REPLAY_GAME_CONTROLLER_H
#define WL_LOGIC_REPLAY_GAME_CONTROLLER_H
+#include <cstdint>
#include <memory>
#include "logic/cmd_queue.h"
diff -up widelands-1.1/src/logic/single_player_game_controller.h~ widelands-1.1/src/logic/single_player_game_controller.h
--- widelands-1.1/src/logic/single_player_game_controller.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/single_player_game_controller.h 2023-03-27 22:59:27.132516891 +0200
@@ -19,6 +19,8 @@
#ifndef WL_LOGIC_SINGLE_PLAYER_GAME_CONTROLLER_H
#define WL_LOGIC_SINGLE_PLAYER_GAME_CONTROLLER_H
+#include <cstdint>
+
#include "ai/computer_player.h"
#include "logic/game_controller.h"
diff -up widelands-1.1/src/logic/single_player_game_settings_provider.h~ widelands-1.1/src/logic/single_player_game_settings_provider.h
--- widelands-1.1/src/logic/single_player_game_settings_provider.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/logic/single_player_game_settings_provider.h 2023-03-27 22:59:30.908486580 +0200
@@ -19,6 +19,8 @@
#ifndef WL_LOGIC_SINGLE_PLAYER_GAME_SETTINGS_PROVIDER_H
#define WL_LOGIC_SINGLE_PLAYER_GAME_SETTINGS_PROVIDER_H
+#include <cstdint>
+
#include "logic/game_settings.h"
/**
diff -up widelands-1.1/src/graphic/text/textstream.h~ widelands-1.1/src/graphic/text/textstream.h
--- widelands-1.1/src/graphic/text/textstream.h~ 2022-10-22 13:51:16.000000000 +0200
+++ widelands-1.1/src/graphic/text/textstream.h 2023-03-27 23:05:15.095850210 +0200
@@ -19,6 +19,7 @@
#ifndef WL_GRAPHIC_TEXT_TEXTSTREAM_H
#define WL_GRAPHIC_TEXT_TEXTSTREAM_H
+#include <cstdint>
#include <string>
namespace RT {