diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-11-21 14:23:45 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-11-23 10:01:25 +0000 |
commit | cb44c9ae591ae5cdfda932f04bf321932a0e1d0f (patch) | |
tree | 4fe8f3d70d6f951ee8cd50c96bc4dc732179a7f0 /include | |
parent | 30afe6fa458cef7a6f84020de5bd15d8ae164521 (diff) | |
download | mupdf-cb44c9ae591ae5cdfda932f04bf321932a0e1d0f.tar.xz |
Convert mudraw and muraster to use mu-threads.
Saves having the same threading code repeatedly.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/system.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h index 1723824f..3fe4311a 100644 --- a/include/mupdf/fitz/system.h +++ b/include/mupdf/fitz/system.h @@ -81,6 +81,11 @@ #define fz_jmp_buf jmp_buf #endif +#ifndef _MSC_VER +/* For gettimeofday */ +#include <sys/time.h> +#endif + #ifdef _MSC_VER /* Microsoft Visual C */ /* MSVC up to VS2012 */ |