From 84597399525d99fe036ea93feedb7993f326de50 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 9 Jan 2019 20:30:51 +0100 Subject: 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. --- lv2/log/log.h | 4 ++-- lv2/log/logger.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lv2/log') 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 - #include "lv2/urid/urid.h" +#include + #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 #include -#include "lv2/log/log.h" - #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.1