summaryrefslogtreecommitdiff
path: root/source/tools/muraster.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/muraster.c')
-rw-r--r--source/tools/muraster.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/tools/muraster.c b/source/tools/muraster.c
index b8d9a4d9..12b81ac3 100644
--- a/source/tools/muraster.c
+++ b/source/tools/muraster.c
@@ -139,6 +139,18 @@
#include "mupdf/fitz.h"
#include "mupdf/helpers/mu-threads.h"
+#include <string.h>
+#include <stdlib.h>
+#include <stdio.h>
+
+#ifdef _MSC_VER
+struct timeval;
+struct timezone;
+int gettimeofday(struct timeval *tv, struct timezone *tz);
+#else
+#include <sys/time.h>
+#endif
+
/*
After this point, we convert the #defines set (or not set)
above into sensible values we can work with. Don't edit