From c0d47da4a78c8927170da6838466854e8c66d897 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 3 Jul 2023 22:43:37 +0100 Subject: [PATCH] Add missing includes to town_type.h, network_survey.h, pool_type.hpp --- src/core/pool_type.hpp | 1 + src/network/network_survey.h | 4 ++++ src/town_type.h | 1 + 3 files changed, 6 insertions(+) diff --git a/src/core/pool_type.hpp b/src/core/pool_type.hpp index b1ae61b350..80e5ececed 100644 --- a/src/core/pool_type.hpp +++ b/src/core/pool_type.hpp @@ -11,6 +11,7 @@ #define POOL_TYPE_HPP #include "enum_type.hpp" +#include /** Various types of a pool. */ enum PoolType { diff --git a/src/network/network_survey.h b/src/network/network_survey.h index c957108ecf..48206e51cd 100644 --- a/src/network/network_survey.h +++ b/src/network/network_survey.h @@ -12,6 +12,10 @@ #include #include +#if defined(__MINGW32__) +#include "../3rdparty/mingw-std-threads/mingw.condition_variable.h" +#include "../3rdparty/mingw-std-threads/mingw.mutex.h" +#endif #include "core/http.h" /** diff --git a/src/town_type.h b/src/town_type.h index d0cf7aaf9b..b7e327ce15 100644 --- a/src/town_type.h +++ b/src/town_type.h @@ -11,6 +11,7 @@ #define TOWN_TYPE_H #include "core/enum_type.hpp" +#include typedef uint16 TownID; struct Town;