From f595e889b91a674eb94db7ca4d832da54f5194cd Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 17 Aug 2017 15:01:09 +0200 Subject: Use int64_t for public file API offsets. Don't mess with conditional compilation with LARGEFILE -- always expose 64-bit file offsets in our public API. --- source/fitz/time.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/fitz/time.c') 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 +#include #include #include @@ -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; -- cgit v1.2.3