mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +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
|
|
@ -21,11 +21,19 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
|
||||
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
|
||||
#include "lv2/lv2plug.in/ns/ext/time/time.h"
|
||||
#include "lv2/lv2plug.in/ns/ext/atom/forge.h"
|
||||
#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
|
||||
#ifdef HAVE_LV2_1_18_6
|
||||
#include <lv2/lv2core/lv2.h>
|
||||
#include <lv2/atom/atom.h>
|
||||
#include <lv2/time/time.h>
|
||||
#include <lv2/atom/forge.h>
|
||||
#include <lv2/urid/urid.h>
|
||||
#else
|
||||
#include <lv2/lv2plug.in/ns/lv2core/lv2.h>
|
||||
#include <lv2/lv2plug.in/ns/ext/atom/atom.h>
|
||||
#include <lv2/lv2plug.in/ns/ext/time/time.h>
|
||||
#include <lv2/lv2plug.in/ns/ext/atom/forge.h>
|
||||
#include <lv2/lv2plug.in/ns/ext/urid/urid.h>
|
||||
#endif
|
||||
|
||||
#define ADELAY_URI "urn:ardour:a-delay"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue