diff options
author | David Robillard <d@drobilla.net> | 2019-01-13 13:59:29 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-01-13 13:59:29 +0100 |
commit | 162d540a7a78bcd75aea002b4afa101133315e8b (patch) | |
tree | f59f5adbc21f4156a1a8b4e33abe9124a6f526cb /test/bad_syntax.lv2 | |
parent | 4b4c1797d93e6efb93b12df21c1cd9f04341b61e (diff) | |
download | lilv-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 'test/bad_syntax.lv2')
-rw-r--r-- | test/bad_syntax.lv2/bad_syntax.c | 5 | ||||
-rw-r--r-- | test/bad_syntax.lv2/test_bad_syntax.c | 9 |
2 files changed, 11 insertions, 3 deletions
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 <stdlib.h> - #include "lv2/lv2plug.in/ns/lv2core/lv2.h" +#include <stdint.h> +#include <stdlib.h> + #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 <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> + #define PLUGIN_URI "http://example.org/bad-syntax" #define TEST_ASSERT(check) do {\ |