summaryrefslogtreecommitdiff
path: root/source/tools/pdfshow.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/pdfshow.c
parent78c1264e14804a06c6d03072c8c57820fde4e148 (diff)
downloadmupdf-9534243f6849d1938195c1f27adaa5745056f138.tar.xz
Include required system headers.
Diffstat (limited to 'source/tools/pdfshow.c')
-rw-r--r--source/tools/pdfshow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/tools/pdfshow.c b/source/tools/pdfshow.c
index 03c93da8..71d2b4ca 100644
--- a/source/tools/pdfshow.c
+++ b/source/tools/pdfshow.c
@@ -2,8 +2,12 @@
* pdfshow -- the ultimate pdf debugging tool
*/
+#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 fz_output *out = NULL;