aboutsummaryrefslogtreecommitdiffstats
path: root/ext/contexts.lv2
diff options
context:
space:
mode:
Diffstat (limited to 'ext/contexts.lv2')
-rw-r--r--ext/contexts.lv2/contexts.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/contexts.lv2/contexts.h b/ext/contexts.lv2/contexts.h
index 9ed2ab5..98c795c 100644
--- a/ext/contexts.lv2/contexts.h
+++ b/ext/contexts.lv2/contexts.h
@@ -26,6 +26,8 @@
#include <stdint.h>
+#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
+
#define LV2_CONTEXTS_URI "http://lv2plug.in/ns/ext/contexts"
#define LV2_CONTEXT_MESSAGE "http://lv2plug.in/ns/ext/contexts#MessageContext"
@@ -45,9 +47,6 @@ lv2_contexts_port_is_valid(const void* flags, uint32_t index) {
return (((uint8_t*)flags)[index / 8] & (1 << (index % 8))) != 0;
}
-#include "lv2.h"
-
-
typedef struct {
/** The message run function. This is called once to process a set of