summaryrefslogtreecommitdiffstats
path: root/lilv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-13 13:59:29 +0100
committerDavid Robillard <d@drobilla.net>2019-01-13 13:59:29 +0100
commit162d540a7a78bcd75aea002b4afa101133315e8b (patch)
treef59f5adbc21f4156a1a8b4e33abe9124a6f526cb /lilv
parent4b4c1797d93e6efb93b12df21c1cd9f04341b61e (diff)
downloadlilv-162d540a7a78bcd75aea002b4afa101133315e8b.tar.gz
lilv-162d540a7a78bcd75aea002b4afa101133315e8b.tar.bz2
lilv-162d540a7a78bcd75aea002b4afa101133315e8b.zip
Clean up includes
Sorts includes from local to global (which catches errors) and fixes missing includes found by the resulting breakage and include-what-you-use.
Diffstat (limited to 'lilv')
-rw-r--r--lilv/lilv.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h
index 1ed219c..1f880d5 100644
--- a/lilv/lilv.h
+++ b/lilv/lilv.h
@@ -21,14 +21,15 @@
#ifndef LILV_LILV_H
#define LILV_LILV_H
+#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
+#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
+
#include <stdarg.h>
+#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
-#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
-#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
-
#ifdef LILV_SHARED
# ifdef _WIN32
# define LILV_LIB_IMPORT __declspec(dllimport)
@@ -53,8 +54,6 @@
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
#define LILV_NS_DOAP "http://usefulinc.com/ns/doap#"