summaryrefslogtreecommitdiff
path: root/source/fitz/draw-unpack.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/draw-unpack.c')
-rw-r--r--source/fitz/draw-unpack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fitz/draw-unpack.c b/source/fitz/draw-unpack.c
index 414e68b7..e3c4c5b2 100644
--- a/source/fitz/draw-unpack.c
+++ b/source/fitz/draw-unpack.c
@@ -1,6 +1,8 @@
#include "mupdf/fitz.h"
#include "draw-imp.h"
+#include <string.h>
+
/* Unpack image samples and optionally pad pixels with opaque alpha */
#define get1(buf,x) ((buf[x >> 3] >> ( 7 - (x & 7) ) ) & 1 )