aboutsummaryrefslogtreecommitdiffstats
path: root/ext/contexts.lv2/contexts.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-23 22:06:40 +0000
committerDavid Robillard <d@drobilla.net>2010-12-23 22:06:40 +0000
commit2fa250041ea04d46c6fbe2875be2b8ded0f0b192 (patch)
tree68f9f555e54a0dc0c9325ed2232bb6ecf7090b97 /ext/contexts.lv2/contexts.h
parentb7aadb9bcdc9a667d6b7c2ad2edb157465bbffed (diff)
downloadlv2-2fa250041ea04d46c6fbe2875be2b8ded0f0b192.tar.xz
Compilation fixes.
Diffstat (limited to 'ext/contexts.lv2/contexts.h')
-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