aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/atom.lv2/atom-helpers.h3
-rw-r--r--ext/contexts.lv2/contexts.h5
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/atom.lv2/atom-helpers.h b/ext/atom.lv2/atom-helpers.h
index d48580f..b470c01 100644
--- a/ext/atom.lv2/atom-helpers.h
+++ b/ext/atom.lv2/atom-helpers.h
@@ -22,6 +22,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
+#include <stdio.h>
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
/** @file
@@ -144,7 +145,7 @@ lv2_atom_is_a(LV2_Atom* object,
{
if (lv2_atom_is_null(object))
return false;
-
+
if (object->type == type)
return true;
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