diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-21 16:22:20 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-27 15:12:01 +0200 |
commit | 9534243f6849d1938195c1f27adaa5745056f138 (patch) | |
tree | bc992482d97560154af0a576d052c78cda6bb4ab /source/tools/muraster.c | |
parent | 78c1264e14804a06c6d03072c8c57820fde4e148 (diff) | |
download | mupdf-9534243f6849d1938195c1f27adaa5745056f138.tar.xz |
Include required system headers.
Diffstat (limited to 'source/tools/muraster.c')
-rw-r--r-- | source/tools/muraster.c | 12 |
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 |