aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-11 11:09:23 +0200
committerDavid Robillard <d@drobilla.net>2018-12-30 17:58:17 -0500
commit520f208db173a103b37dbe0d67c2e29a684edb82 (patch)
tree2f59a78f4b011e959162f071a6781d8bf6d6e76e /src/world.c
parent512ba5176d862bcd0f0f799385ea15637b3aa5a2 (diff)
downloadserd-520f208db173a103b37dbe0d67c2e29a684edb82.tar.gz
serd-520f208db173a103b37dbe0d67c2e29a684edb82.tar.bz2
serd-520f208db173a103b37dbe0d67c2e29a684edb82.zip
Move system utilities to separate source files
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/world.c b/src/world.c
index 7ec483e8..49a84d42 100644
--- a/src/world.c
+++ b/src/world.c
@@ -19,9 +19,12 @@
#include "serd_internal.h"
#include "serd_config.h"
+#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
-#if defined(HAVE_POSIX_FADVISE)
+#include <stdlib.h>
+#include <string.h>
+#if defined(HAVE_POSIX_FADVISE) || defined(HAVE_FILENO)
# include <fcntl.h>
#endif