From 8113b4bdbf8f0c7bcf92a4a4cf7514644b51a64c Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Wed, 4 Aug 2021 22:46:56 +0100 Subject: [PATCH] Fix build issues on MinGW --- src/debug.cpp | 3 +++ src/music/fluidsynth.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/debug.cpp b/src/debug.cpp index 24d4598b98..8bb3332052 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -18,6 +18,9 @@ #include "thread.h" #include #include +#if defined(__MINGW32__) +#include "3rdparty/mingw-std-threads/mingw.mutex.h" +#endif #if defined(_WIN32) #include "os/windows/win32.h" diff --git a/src/music/fluidsynth.cpp b/src/music/fluidsynth.cpp index 1c4b67e12b..38f65e7e14 100644 --- a/src/music/fluidsynth.cpp +++ b/src/music/fluidsynth.cpp @@ -16,6 +16,9 @@ #include #include "../mixer.h" #include +#if defined(__MINGW32__) +#include "3rdparty/mingw-std-threads/mingw.mutex.h" +#endif static struct { fluid_settings_t *settings; ///< FluidSynth settings handle