From 2208034206c6085fa07063bcc6fdc834d6472912 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 26 Apr 2017 13:26:45 +0200 Subject: Use FZ_SEEK_SET macros for fz_seek. Don't depend on stdio.h for our own I/O functions. --- source/fitz/untar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/fitz/untar.c') diff --git a/source/fitz/untar.c b/source/fitz/untar.c index 90b6f24d..d8ae6336 100644 --- a/source/fitz/untar.c +++ b/source/fitz/untar.c @@ -1,7 +1,7 @@ +#include "mupdf/fitz.h" #include "fitz-imp.h" #include -#include typedef struct tar_entry_s tar_entry; typedef struct fz_tar_archive_s fz_tar_archive; @@ -59,7 +59,7 @@ static void ensure_tar_entries(fz_context *ctx, fz_tar_archive *tar) tar->count = 0; - fz_seek(ctx, file, 0, SEEK_SET); + fz_seek(ctx, file, 0, FZ_SEEK_SET); while (1) { -- cgit v1.2.3