diff options
Diffstat (limited to 'source/fitz/error.c')
-rw-r--r-- | source/fitz/error.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/fitz/error.c b/source/fitz/error.c index 6820034d..0f371bc6 100644 --- a/source/fitz/error.c +++ b/source/fitz/error.c @@ -211,6 +211,7 @@ void fz_rethrow_if(fz_context *ctx, int err) /* Android specific code to take fprintf to LOG */ #ifdef __ANDROID__ +#include <unistd.h> #include <android/log.h> #define LOG_TAG "libmupdf" @@ -220,7 +221,7 @@ static int android_log_fill = 0; static char android_log_buffer2[4096]; -int fz_android_fprintf(FILE *file, const char *fmt, ...) +int fz_android_fprintf(void *file, const char *fmt, ...) { va_list args; char *p, *q; |