mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
Add LV2 header include compatibility (1/2)
For whatever reason LV2 changes #include header locations in a micro version release and disables backwards compatibly by default.
This commit is contained in:
parent
b9e5621e03
commit
bf4decbfe7
12 changed files with 113 additions and 33 deletions
|
|
@ -44,6 +44,18 @@
|
|||
|
||||
#include "fluidsynth.h"
|
||||
|
||||
#ifdef HAVE_LV2_1_18_6
|
||||
#include <lv2/atom/atom.h>
|
||||
#include <lv2/atom/forge.h>
|
||||
#include <lv2/atom/util.h>
|
||||
#include <lv2/lv2core/lv2.h>
|
||||
#include <lv2/log/logger.h>
|
||||
#include <lv2/midi/midi.h>
|
||||
#include <lv2/patch/patch.h>
|
||||
#include <lv2/state/state.h>
|
||||
#include <lv2/urid/urid.h>
|
||||
#include <lv2/worker/worker.h>
|
||||
#else
|
||||
#include <lv2/lv2plug.in/ns/ext/atom/atom.h>
|
||||
#include <lv2/lv2plug.in/ns/ext/atom/forge.h>
|
||||
#include <lv2/lv2plug.in/ns/ext/atom/util.h>
|
||||
|
|
@ -54,6 +66,7 @@
|
|||
#include <lv2/lv2plug.in/ns/ext/urid/urid.h>
|
||||
#include <lv2/lv2plug.in/ns/ext/worker/worker.h>
|
||||
#include <lv2/lv2plug.in/ns/lv2core/lv2.h>
|
||||
#endif
|
||||
|
||||
enum {
|
||||
FS_PORT_CONTROL = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue