From 0994283a7d427b0554398b912360312b621de8ee Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 3 Aug 2012 17:36:43 +0000 Subject: Add compile test for all headers. --- lv2/lv2plug.in/ns/ext/event/event-helpers.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'lv2/lv2plug.in/ns/ext/event') diff --git a/lv2/lv2plug.in/ns/ext/event/event-helpers.h b/lv2/lv2plug.in/ns/ext/event/event-helpers.h index 8e29507..fcd13fe 100644 --- a/lv2/lv2plug.in/ns/ext/event/event-helpers.h +++ b/lv2/lv2plug.in/ns/ext/event/event-helpers.h @@ -22,13 +22,19 @@ #ifndef LV2_EVENT_HELPERS_H #define LV2_EVENT_HELPERS_H +#include #include -#include -#include #include -#include +#include + #include "lv2/lv2plug.in/ns/ext/event/event.h" +#ifdef __cplusplus +extern "C" { +#else +# include +#endif + /** @file * Helper functions for the LV2 Event extension * . @@ -246,5 +252,9 @@ lv2_event_write_event(LV2_Event_Iterator* iter, return true; } +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* LV2_EVENT_HELPERS_H */ -- cgit v1.2.1