diff options
author | David Robillard <d@drobilla.net> | 2019-01-09 20:30:51 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-01-10 22:09:30 +0100 |
commit | 84597399525d99fe036ea93feedb7993f326de50 (patch) | |
tree | d7744f267d06f600a539a2c92c1c4e2582a5b6ba /lv2/event | |
parent | 677eee0a8a1ca270860c11bc411abb48ae5e455e (diff) | |
download | lv2-84597399525d99fe036ea93feedb7993f326de50.tar.xz |
Sort includes from local to standard and fix exposed issues
This order is better because it ensures that headers can stand alone and
include everything they need. Several missing includes were exposed by this,
and are also fixed in this commit.
Diffstat (limited to 'lv2/event')
-rw-r--r-- | lv2/event/event-helpers.h | 6 | ||||
-rw-r--r-- | lv2/event/event.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lv2/event/event-helpers.h b/lv2/event/event-helpers.h index a0e4c79..af72d76 100644 --- a/lv2/event/event-helpers.h +++ b/lv2/event/event-helpers.h @@ -22,14 +22,14 @@ #ifndef LV2_EVENT_HELPERS_H #define LV2_EVENT_HELPERS_H +#include "lv2/core/attributes.h" +#include "lv2/event/event.h" + #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include <string.h> -#include "lv2/core/attributes.h" -#include "lv2/event/event.h" - #ifdef __cplusplus extern "C" { #endif diff --git a/lv2/event/event.h b/lv2/event/event.h index 264f257..70cae6a 100644 --- a/lv2/event/event.h +++ b/lv2/event/event.h @@ -43,10 +43,10 @@ #define LV2_EVENT_AUDIO_STAMP 0 ///< Special timestamp type for audio frames -#include <stdint.h> - #include "lv2/core/attributes.h" +#include <stdint.h> + #ifdef __cplusplus extern "C" { #endif |