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>2019-12-19 20:52:35 -0500
commitf72ab5fe4e39d4973e31e43b6db3be499af418f2 (patch)
treeda1a9dea837f87c0ae607eadcd0e435cde968299 /src/world.c
parente61d7f710465ca8c87274d9664afeb0b125597a4 (diff)
downloadserd-f72ab5fe4e39d4973e31e43b6db3be499af418f2.tar.gz
serd-f72ab5fe4e39d4973e31e43b6db3be499af418f2.tar.bz2
serd-f72ab5fe4e39d4973e31e43b6db3be499af418f2.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