diff options
Diffstat (limited to 'lv2/event/event-helpers.h')
-rw-r--r-- | lv2/event/event-helpers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lv2/event/event-helpers.h b/lv2/event/event-helpers.h index f514155..2f0fcf5 100644 --- a/lv2/event/event-helpers.h +++ b/lv2/event/event-helpers.h @@ -26,6 +26,7 @@ #include <stdlib.h> #include <string.h> +#include "lv2/core/attributes.h" #include "lv2/event/event.h" #ifdef __cplusplus @@ -34,6 +35,8 @@ extern "C" { # include <stdbool.h> #endif +LV2_DISABLE_DEPRECATION_WARNINGS + /** @file * Helper functions for the LV2 Event extension * <http://lv2plug.in/ns/ext/event>. @@ -257,6 +260,8 @@ lv2_event_write_event(LV2_Event_Iterator* iter, return true; } +LV2_RESTORE_WARNINGS + #ifdef __cplusplus } /* extern "C" */ #endif |