From 162d540a7a78bcd75aea002b4afa101133315e8b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 13 Jan 2019 13:59:29 +0100 Subject: 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. --- test/bad_syntax.lv2/bad_syntax.c | 5 +++-- test/bad_syntax.lv2/test_bad_syntax.c | 9 ++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'test/bad_syntax.lv2') diff --git a/test/bad_syntax.lv2/bad_syntax.c b/test/bad_syntax.lv2/bad_syntax.c index 52620bd..5d65fa7 100644 --- a/test/bad_syntax.lv2/bad_syntax.c +++ b/test/bad_syntax.lv2/bad_syntax.c @@ -15,10 +15,11 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include - #include "lv2/lv2plug.in/ns/lv2core/lv2.h" +#include +#include + #define PLUGIN_URI "http://example.org/bad-syntax" enum { diff --git a/test/bad_syntax.lv2/test_bad_syntax.c b/test/bad_syntax.lv2/test_bad_syntax.c index d20b8b7..80d9e3c 100644 --- a/test/bad_syntax.lv2/test_bad_syntax.c +++ b/test/bad_syntax.lv2/test_bad_syntax.c @@ -1,6 +1,13 @@ -#include "lilv/lilv.h" #include "../src/lilv_internal.h" +#include "serd/serd.h" +#include "lilv/lilv.h" + +#include +#include +#include +#include + #define PLUGIN_URI "http://example.org/bad-syntax" #define TEST_ASSERT(check) do {\ -- cgit v1.2.1