diff options
author | David Robillard <d@drobilla.net> | 2020-12-16 16:59:26 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-16 16:59:26 +0100 |
commit | a0a127b5c6395fc402861f95852b9624f9d2621f (patch) | |
tree | ebb8efcb3c132d3e1e17cbaff9bae439c90c5a2f /src | |
parent | 644cf095d12f74c67f323c355dbae0059d02f1f3 (diff) | |
download | lilv-a0a127b5c6395fc402861f95852b9624f9d2621f.tar.gz lilv-a0a127b5c6395fc402861f95852b9624f9d2621f.tar.bz2 lilv-a0a127b5c6395fc402861f95852b9624f9d2621f.zip |
Clean up includes
Diffstat (limited to 'src')
-rw-r--r-- | src/lilv_internal.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h index d603df7..90cd89b 100644 --- a/src/lilv_internal.h +++ b/src/lilv_internal.h @@ -21,17 +21,17 @@ extern "C" { #endif -#include "lilv_config.h" +#include "lilv_config.h" // IWYU pragma: keep #include "lilv/lilv.h" +#include "lv2/core/lv2.h" #include "serd/serd.h" #include "sord/sord.h" #include "zix/tree.h" -#include <float.h> -#include <stddef.h> +#include <stdbool.h> #include <stdint.h> -#include <stdlib.h> +#include <stdio.h> #ifdef _WIN32 # include <windows.h> @@ -54,7 +54,6 @@ extern "C" { static inline const char* dlerror(void) { return "Unknown error"; } #else # include <dlfcn.h> -# include <unistd.h> #endif #ifdef LILV_DYN_MANIFEST @@ -67,8 +66,6 @@ static inline const char* dlerror(void) { return "Unknown error"; } * */ -typedef struct LilvSpecImpl LilvSpec; - typedef void LilvCollection; struct LilvPortImpl { @@ -78,12 +75,12 @@ struct LilvPortImpl { LilvNodes* classes; ///< rdf:type }; -struct LilvSpecImpl { +typedef struct LilvSpecImpl { SordNode* spec; SordNode* bundle; LilvNodes* data_uris; struct LilvSpecImpl* next; -}; +} LilvSpec; /** Header of an LilvPlugin, LilvPluginClass, or LilvUI. |