summaryrefslogtreecommitdiff
path: root/source/fitz/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/time.c')
-rw-r--r--source/fitz/time.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/fitz/time.c b/source/fitz/time.c
index 99c0952c..9fb8cfa4 100644
--- a/source/fitz/time.c
+++ b/source/fitz/time.c
@@ -2,6 +2,8 @@
#include "mupdf/fitz.h"
+#include <stdio.h>
+#include <errno.h>
#include <time.h>
#include <windows.h>
@@ -79,7 +81,7 @@ fz_wchar_from_utf8(const char *s)
return r;
}
-FILE *
+void *
fz_fopen_utf8(const char *name, const char *mode)
{
wchar_t *wname, *wmode;