diff --git a/src/vst2/Vst2PluginInstance.cpp b/src/vst2/Vst2PluginInstance.cpp index df71fcb8831..510e0afe685 100644 --- a/src/vst2/Vst2PluginInstance.cpp +++ b/src/vst2/Vst2PluginInstance.cpp @@ -58,6 +58,8 @@ BOOL WINAPI DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID lpvReserved) return 1; } } // extern "C" +#elif __linux__ +namespace VSTGUI { void* soHandle = nullptr; } #endif //-------------------------------------------------------------------------------------------------------