summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-03-02 19:17:55 +0100
committerTor Andersson <tor@ghostscript.com>2010-03-02 19:17:55 +0100
commit0345e9e83bd16b39fffecd3bda584996f642b8cd (patch)
treed1b61e87a8e766f157eca8ef2a51002d23d48527 /fitz
parent73f77775f4919118e8403b9a33c6e29ae4a62774 (diff)
downloadmupdf-0345e9e83bd16b39fffecd3bda584996f642b8cd.tar.xz
Remove dependency on libfitz.a from cmapdump.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/fitz_base.h6
-rw-r--r--fitz/fitz_stream.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/fitz/fitz_base.h b/fitz/fitz_base.h
index 18326eea..78efea49 100644
--- a/fitz/fitz_base.h
+++ b/fitz/fitz_base.h
@@ -2,6 +2,9 @@
* Include the basic standard libc headers.
*/
+#ifndef _FITZ_BASE_H_
+#define _FITZ_BASE_H_
+
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
@@ -319,3 +322,6 @@ fz_error fz_newscaledpixmap(fz_pixmap **dstp, int w, int h, int n, int xdenom, i
fz_error fz_scalepixmaptile(fz_pixmap *dstp, int xoffs, int yoffs,
fz_pixmap *tile, int xdenom, int ydenom);
+#endif
+
+
diff --git a/fitz/fitz_stream.h b/fitz/fitz_stream.h
index df3dec29..f5d659e6 100644
--- a/fitz/fitz_stream.h
+++ b/fitz/fitz_stream.h
@@ -4,6 +4,9 @@
* Used by the filter library and the mupdf parser.
*/
+#ifndef _FITZ_STREAM_H_
+#define _FITZ_STREAM_H_
+
typedef struct pdf_xref_s pdf_xref; /* this file is about to be merged with mupdf */
typedef struct fz_obj_s fz_obj;
@@ -409,3 +412,4 @@ static inline int fz_peekbyte(fz_stream *stm)
#endif
+#endif