summaryrefslogtreecommitdiff
path: root/source/xps/xps-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/xps/xps-common.c')
-rw-r--r--source/xps/xps-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/xps/xps-common.c b/source/xps/xps-common.c
index 1843a41c..9e590788 100644
--- a/source/xps/xps-common.c
+++ b/source/xps/xps-common.c
@@ -1,6 +1,9 @@
#include "mupdf/fitz.h"
#include "xps-imp.h"
+#include <string.h>
+#include <stdio.h> /* for sscanf */
+
static inline int unhex(int a)
{
if (a >= 'A' && a <= 'F') return a - 'A' + 0xA;