summaryrefslogtreecommitdiff
path: root/source/fitz/draw-mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/draw-mesh.c')
-rw-r--r--source/fitz/draw-mesh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/fitz/draw-mesh.c b/source/fitz/draw-mesh.c
index 233a2108..846e6bbc 100644
--- a/source/fitz/draw-mesh.c
+++ b/source/fitz/draw-mesh.c
@@ -1,6 +1,9 @@
#include "mupdf/fitz.h"
#include "draw-imp.h"
+#include <assert.h>
+#include <math.h>
+
enum { MAXN = 2 + FZ_MAX_COLORS };
static void paint_scan(fz_pixmap *restrict pix, int y, int fx0, int fx1, int cx0, int cx1, const int *restrict v0, const int *restrict v1, int n)