Browse Source

Bugfix: build error with DISTRHO_PLUGIN_HAS_EXTERNAL_UI (#323)

* Bugfix: build error with DISTRHO_PLUGIN_HAS_EXTERNAL_UI

Update DIstrhoUI.cpp to include X11 headers before DPF stuff to prevent
X11 Window and DGL:Window from clashing.

* External UI: avoid including a DGL header
pull/324/head
lucianoiam GitHub 4 years ago
parent
commit
6d1cd5d857
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      distrho/src/DistrhoUI.cpp

+ 5
- 2
distrho/src/DistrhoUI.cpp View File

@@ -14,8 +14,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

#include "DistrhoUIPrivateData.hpp"
#include "src/WindowPrivateData.hpp"
#include "src/DistrhoPluginChecks.h"
#if DISTRHO_PLUGIN_HAS_EXTERNAL_UI
# if defined(DISTRHO_OS_WINDOWS)
# define WIN32_LEAN_AND_MEAN
@@ -25,8 +25,11 @@
# endif
#else
# include "src/TopLevelWidgetPrivateData.hpp"
# include "src/WindowPrivateData.hpp"
#endif

#include "DistrhoUIPrivateData.hpp"

START_NAMESPACE_DISTRHO

#if DISTRHO_PLUGIN_HAS_EXTERNAL_UI


Loading…
Cancel
Save