diff options
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader.c b/src/reader.c index cfc43685..3be28a53 100644 --- a/src/reader.c +++ b/src/reader.c @@ -15,9 +15,9 @@ */ #include "reader.h" + #include "byte_source.h" #include "serd_internal.h" -#include "stack.h" #include "system.h" #include "world.h" @@ -260,7 +260,7 @@ serd_reader_start_file(SerdReader* reader, const char* uri, bool bulk) return SERD_ERR_BAD_ARG; } - FILE* fd = serd_fopen(path, "rb"); + FILE* fd = serd_world_fopen(reader->world, path, "rb"); free(path); if (!fd) { return SERD_ERR_UNKNOWN; |