summaryrefslogtreecommitdiff
path: root/source/fitz/draw-device.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-04-21 16:22:20 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-04-27 15:12:01 +0200
commit9534243f6849d1938195c1f27adaa5745056f138 (patch)
treebc992482d97560154af0a576d052c78cda6bb4ab /source/fitz/draw-device.c
parent78c1264e14804a06c6d03072c8c57820fde4e148 (diff)
downloadmupdf-9534243f6849d1938195c1f27adaa5745056f138.tar.xz
Include required system headers.
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r--source/fitz/draw-device.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c
index 63ea7a03..f4425558 100644
--- a/source/fitz/draw-device.c
+++ b/source/fitz/draw-device.c
@@ -2,6 +2,10 @@
#include "glyph-cache-imp.h"
#include "draw-imp.h"
+#include <string.h>
+#include <assert.h>
+#include <math.h>
+
#define STACK_SIZE 96
/* Enable the following to attempt to support knockout and/or isolated
@@ -50,6 +54,9 @@ struct fz_draw_device_s
};
#ifdef DUMP_GROUP_BLENDS
+
+#include <stdio.h>
+
static int group_dump_count = 0;
static void fz_dump_blend(fz_context *ctx, fz_pixmap *pix, const char *s)