summaryrefslogtreecommitdiff
path: root/apps/pdfapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pdfapp.h')
-rw-r--r--apps/pdfapp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/pdfapp.h b/apps/pdfapp.h
index bb067bb4..0c1b6ac4 100644
--- a/apps/pdfapp.h
+++ b/apps/pdfapp.h
@@ -1,3 +1,8 @@
+#ifndef PDFAPP_H
+#define PDFAPP_H
+
+#include "fitz.h"
+
/*
* Utility object for handling a pdf application / view
* Takes care of PDF loading and displaying and navigation,
@@ -106,3 +111,5 @@ void pdfapp_onresize(pdfapp_t *app, int w, int h);
void pdfapp_invert(pdfapp_t *app, fz_bbox rect);
void pdfapp_inverthit(pdfapp_t *app);
+
+#endif