aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/log
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/log
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/log')
-rw-r--r--lv2/log/log.h4
-rw-r--r--lv2/log/logger.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lv2/log/log.h b/lv2/log/log.h
index 11bb35a..7175339 100644
--- a/lv2/log/log.h
+++ b/lv2/log/log.h
@@ -36,10 +36,10 @@
#define LV2_LOG__Warning LV2_LOG_PREFIX "Warning" ///< http://lv2plug.in/ns/ext/log#Warning
#define LV2_LOG__log LV2_LOG_PREFIX "log" ///< http://lv2plug.in/ns/ext/log#log
-#include <stdarg.h>
-
#include "lv2/urid/urid.h"
+#include <stdarg.h>
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/lv2/log/logger.h b/lv2/log/logger.h
index 7d9b005..b66a8e4 100644
--- a/lv2/log/logger.h
+++ b/lv2/log/logger.h
@@ -28,11 +28,11 @@
#ifndef LV2_ATOM_LOGGER_H
#define LV2_ATOM_LOGGER_H
+#include "lv2/log/log.h"
+
#include <stdio.h>
#include <string.h>
-#include "lv2/log/log.h"
-
#ifdef __cplusplus
extern "C" {
#endif