From 2fa250041ea04d46c6fbe2875be2b8ded0f0b192 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 23 Dec 2010 22:06:40 +0000 Subject: Compilation fixes. --- ext/atom.lv2/atom-helpers.h | 3 ++- ext/contexts.lv2/contexts.h | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ext') 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 #include #include +#include #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 +#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 -- cgit v1.2.1