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