diff options
| author | David Robillard <d@drobilla.net> | 2010-12-23 22:06:40 +0000 | 
|---|---|---|
| committer | David Robillard <d@drobilla.net> | 2010-12-23 22:06:40 +0000 | 
| commit | 2fa250041ea04d46c6fbe2875be2b8ded0f0b192 (patch) | |
| tree | 68f9f555e54a0dc0c9325ed2232bb6ecf7090b97 /ext | |
| parent | b7aadb9bcdc9a667d6b7c2ad2edb157465bbffed (diff) | |
| download | lv2-2fa250041ea04d46c6fbe2875be2b8ded0f0b192.tar.xz | |
Compilation fixes.
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/atom.lv2/atom-helpers.h | 3 | ||||
| -rw-r--r-- | ext/contexts.lv2/contexts.h | 5 | 
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 |