aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/state/state.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-09 20:30:51 +0100
committerDavid Robillard <d@drobilla.net>2019-01-10 22:09:30 +0100
commit84597399525d99fe036ea93feedb7993f326de50 (patch)
treed7744f267d06f600a539a2c92c1c4e2582a5b6ba /lv2/state/state.h
parent677eee0a8a1ca270860c11bc411abb48ae5e455e (diff)
downloadlv2-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/state/state.h')
-rw-r--r--lv2/state/state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lv2/state/state.h b/lv2/state/state.h
index 7c1c9c0..1005d50 100644
--- a/lv2/state/state.h
+++ b/lv2/state/state.h
@@ -27,12 +27,12 @@
#ifndef LV2_STATE_H
#define LV2_STATE_H
+#include "lv2/core/lv2.h"
+
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
-#include "lv2/core/lv2.h"
-
#define LV2_STATE_URI "http://lv2plug.in/ns/ext/state" ///< http://lv2plug.in/ns/ext/state
#define LV2_STATE_PREFIX LV2_STATE_URI "#" ///< http://lv2plug.in/ns/ext/state#