summaryrefslogtreecommitdiff
path: root/source/tools/pdfextract.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/tools/pdfextract.c
parent78c1264e14804a06c6d03072c8c57820fde4e148 (diff)
downloadmupdf-9534243f6849d1938195c1f27adaa5745056f138.tar.xz
Include required system headers.
Diffstat (limited to 'source/tools/pdfextract.c')
-rw-r--r--source/tools/pdfextract.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/tools/pdfextract.c b/source/tools/pdfextract.c
index c7390392..49a2747e 100644
--- a/source/tools/pdfextract.c
+++ b/source/tools/pdfextract.c
@@ -2,8 +2,12 @@
* pdfextract -- the ultimate way to extract images and fonts from pdfs
*/
+#include "mupdf/fitz.h"
#include "mupdf/pdf.h"
+#include <stdlib.h>
+#include <stdio.h>
+
static pdf_document *doc = NULL;
static fz_context *ctx = NULL;
static int dorgb = 0;