diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/instance.c | 1 | ||||
-rw-r--r-- | src/lib.c | 5 | ||||
-rw-r--r-- | src/plugin.c | 1 | ||||
-rw-r--r-- | src/state.c | 4 | ||||
-rw-r--r-- | src/world.c | 4 |
5 files changed, 12 insertions, 3 deletions
diff --git a/src/instance.c b/src/instance.c index a6d486f..42c13a2 100644 --- a/src/instance.c +++ b/src/instance.c @@ -18,6 +18,7 @@ #include "lilv/lilv.h" #include "lv2/core/lv2.h" +#include "serd/serd.h" #include <stdbool.h> #include <stdint.h> @@ -18,8 +18,13 @@ #include "lilv/lilv.h" #include "lv2/core/lv2.h" +#include "serd/serd.h" #include "zix/tree.h" +#ifndef _WIN32 +# include <dlfcn.h> +#endif + #include <stdint.h> #include <stdlib.h> diff --git a/src/plugin.c b/src/plugin.c index 0743cd8..9da448b 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -29,7 +29,6 @@ #ifdef LILV_DYN_MANIFEST # include "lv2/dynmanifest/dynmanifest.h" -# include <dlfcn.h> #endif #include <math.h> diff --git a/src/state.c b/src/state.c index 5ca2205..d741e4a 100644 --- a/src/state.c +++ b/src/state.c @@ -29,6 +29,10 @@ #include "lv2/state/state.h" #include "lv2/urid/urid.h" +#ifndef _WIN32 +#include <unistd.h> +#endif + #include <assert.h> #include <errno.h> #include <stdbool.h> diff --git a/src/world.c b/src/world.c index 65cffd4..cf859eb 100644 --- a/src/world.c +++ b/src/world.c @@ -33,10 +33,10 @@ #include <assert.h> #include <stdbool.h> -#include <stdlib.h> -#include <string.h> #include <stdint.h> #include <stdio.h> +#include <stdlib.h> +#include <string.h> static int lilv_world_drop_graph(LilvWorld* world, const SordNode* graph); |