summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-09-09 19:50:55 +0100
committerRobin Watts <robin.watts@artifex.com>2016-09-09 19:52:17 +0100
commit2e6ccc6c9d310c35b644b808353129e8ae318eb7 (patch)
tree89e1c4ad10dae8c4ef6373c041884993793195d7 /include
parent69a3f74d5f2fb8d5a5143855a0dae212e67ac441 (diff)
downloadmupdf-2e6ccc6c9d310c35b644b808353129e8ae318eb7.tar.xz
Fix VS2005 build; missing stat definition.
Windows requires sys/stat.h to be included.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/system.h3
1 files changed, 3 insertions, 0 deletions
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 <sys/stat.h>
+
#define stat _stat
#else /* Unix or close enough */