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:
Robin Gareus 2023-05-06 16:18:24 +02:00
parent b9e5621e03
commit bf4decbfe7
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
12 changed files with 113 additions and 33 deletions

View file

@ -28,7 +28,11 @@
#include "ardour/lv2_extensions.h"
#endif
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
#ifdef HAVE_LV2_1_18_6
#include <lv2/lv2core/lv2.h>
#else
#include <lv2/lv2plug.in/ns/lv2core/lv2.h>
#endif
#define ACOMP_URI "urn:ardour:a-comp"
#define ACOMP_STEREO_URI "urn:ardour:a-comp#stereo"