summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 */