From ed0ee16bf9bd263914167abe5ac2655bca97a50b Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 3 Sep 2023 21:56:35 +0100 Subject: [PATCH] Build: Fix MinGW compilation --- src/os/windows/survey_win.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/os/windows/survey_win.cpp b/src/os/windows/survey_win.cpp index 97895edd9d..07505f74e7 100644 --- a/src/os/windows/survey_win.cpp +++ b/src/os/windows/survey_win.cpp @@ -17,6 +17,10 @@ #include #include +#if defined(__MINGW32__) +#include "../../3rdparty/mingw-std-threads/mingw.thread.h" +#endif + #include "../../safeguards.h" extern std::string SurveyMemoryToText(uint64_t memory);