summaryrefslogtreecommitdiff
path: root/source/fitz/stext-paragraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/stext-paragraph.c')
-rw-r--r--source/fitz/stext-paragraph.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/fitz/stext-paragraph.c b/source/fitz/stext-paragraph.c
index 91f71040..0a717c1b 100644
--- a/source/fitz/stext-paragraph.c
+++ b/source/fitz/stext-paragraph.c
@@ -1,9 +1,14 @@
#include "mupdf/fitz.h"
+#include <string.h>
+#include <assert.h>
+#include <math.h>
+
/* Assemble span soup into blocks and lines. */
#define MY_EPSILON 0.001f
+#include <stdio.h> /* for debug printing */
#undef DEBUG_LINE_HEIGHTS
#undef DEBUG_MASKS
#undef DEBUG_ALIGN