aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-11 11:14:32 +0200
committerDavid Robillard <d@drobilla.net>2018-05-27 18:23:15 +0200
commitca7747e16dbcf7395d73f5292394cf37a4748604 (patch)
treec749739e6d7850d2090607a036b1dfa44c53fc3f /src/world.c
parent227834eebd2aad13b25bddae3e65cf51877333ee (diff)
downloadserd-ca7747e16dbcf7395d73f5292394cf37a4748604.tar.gz
serd-ca7747e16dbcf7395d73f5292394cf37a4748604.tar.bz2
serd-ca7747e16dbcf7395d73f5292394cf37a4748604.zip
Clean up includes and improve source file separation
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/world.c b/src/world.c
index 62517f88..0457e34f 100644
--- a/src/world.c
+++ b/src/world.c
@@ -16,17 +16,19 @@
#define _POSIX_C_SOURCE 200809L /* for posix_fadvise */
-#include "serd_internal.h"
+#include "world.h"
+
#include "serd_config.h"
+#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#if defined(HAVE_POSIX_FADVISE)
# include <fcntl.h>
#endif
-#include "world.h"
-
FILE*
serd_world_fopen(SerdWorld* world, const char* path, const char* mode)
{