diff --git a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp index 5b2c290369..3810f7448b 100644 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -41,6 +41,14 @@ #undef STRICT #define STRICT 1 #include + + #ifdef __MINGW32__ + struct MOUSEHOOKSTRUCTEX + { + MOUSEHOOKSTRUCT _unnamed; + DWORD mouseData; + }; + #endif #elif defined (LINUX) #include #include diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp index 8819baff64..e0ff8154bb 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -65,6 +65,10 @@ #include "juce_VSTMidiEventList.h" #if JUCE_MINGW + #ifndef WM_APPCOMMAND + #define WM_APPCOMMAND 0x0319 + #endif + extern "C" void _fpreset(); extern "C" void _clearfp(); #elif ! JUCE_WINDOWS