From 2e6ccc6c9d310c35b644b808353129e8ae318eb7 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 9 Sep 2016 19:50:55 +0100 Subject: Fix VS2005 build; missing stat definition. Windows requires sys/stat.h to be included. --- include/mupdf/fitz/system.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h index ffa238cf..cb5c2a4a 100644 --- a/include/mupdf/fitz/system.h +++ b/include/mupdf/fitz/system.h @@ -165,6 +165,9 @@ void fz_free_argv(int argc, char **argv); #define fseeko64 _fseeki64 #define ftello64 _ftelli64 #define atoll _atoi64 + +#include + #define stat _stat #else /* Unix or close enough */ -- cgit v1.2.3