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/failed_instantiation.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/failed_instantiation.lv2')
-rw-r--r-- | test/failed_instantiation.lv2/failed_instantiation.c | 5 | ||||
-rw-r--r-- | test/failed_instantiation.lv2/test_failed_instantiation.c | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/test/failed_instantiation.lv2/failed_instantiation.c b/test/failed_instantiation.lv2/failed_instantiation.c index aa90532..0a0a5b1 100644 --- a/test/failed_instantiation.lv2/failed_instantiation.c +++ b/test/failed_instantiation.lv2/failed_instantiation.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/failed-instantiation" enum { diff --git a/test/failed_instantiation.lv2/test_failed_instantiation.c b/test/failed_instantiation.lv2/test_failed_instantiation.c index 6efa0ae..9955d3f 100644 --- a/test/failed_instantiation.lv2/test_failed_instantiation.c +++ b/test/failed_instantiation.lv2/test_failed_instantiation.c @@ -1,6 +1,13 @@ -#include "lilv/lilv.h" #include "../src/lilv_internal.h" +#include "lilv/lilv.h" +#include "serd/serd.h" + +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> + #define PLUGIN_URI "http://example.org/failed-instantiation" #define TEST_ASSERT(check) do {\ |