Browse Source

Linux VST header fix.

tags/2021-05-28
jules 13 years ago
parent
commit
bb2d7683e5
3 changed files with 3 additions and 8 deletions
  1. +1
    -8
      modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp
  2. +1
    -0
      modules/juce_audio_processors/juce_audio_processors.cpp
  3. +1
    -0
      modules/juce_core/native/juce_BasicNativeHeaders.h

+ 1
- 8
modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp View File

@@ -62,13 +62,6 @@
#endif
//==============================================================================
#if JUCE_LINUX
#define Font juce::Font
#define KeyPress juce::KeyPress
#define Drawable juce::Drawable
#define Time juce::Time
#endif
#include "juce_VSTMidiEventList.h"
#if ! JUCE_WINDOWS
@@ -1208,7 +1201,7 @@ public:
return pluginWantsKeys;
}
bool keyPressed (const KeyPress&)
bool keyPressed (const juce::KeyPress&)
{
return pluginWantsKeys;
}


+ 1
- 0
modules/juce_audio_processors/juce_audio_processors.cpp View File

@@ -54,6 +54,7 @@
#if JUCE_PLUGINHOST_VST && JUCE_LINUX
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#endif
//==============================================================================


+ 1
- 0
modules/juce_core/native/juce_BasicNativeHeaders.h View File

@@ -182,6 +182,7 @@
#include <sys/file.h>
#include <sys/prctl.h>
#include <signal.h>
#include <stddef.h>
//==============================================================================
#elif JUCE_ANDROID


Loading…
Cancel
Save