diff options
Diffstat (limited to 'include/mupdf.h')
-rw-r--r-- | include/mupdf.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/include/mupdf.h b/include/mupdf.h index 86b9a6c9..07acde71 100644 --- a/include/mupdf.h +++ b/include/mupdf.h @@ -1,18 +1,8 @@ -#ifdef _MUPDF_H_ -#error "mupdf.h must only be included once" -#endif +#ifndef _MUPDF_H_ #define _MUPDF_H_ -#ifndef _FITZ_BASE_H_ -#error "fitz-base.h must be included before mupdf.h" -#endif - -#ifndef _FITZ_STREAM_H_ -#error "fitz-stream.h must be included before mupdf.h" -#endif - -#ifndef _FITZ_WORLD_H_ -#error "fitz-world.h must be included before mupdf.h" +#ifndef _FITZ_H_ +#error "fitz.h must be included before mupdf.h" #endif void pdf_logxref(char *fmt, ...); @@ -29,3 +19,4 @@ void pdf_logpage(char *fmt, ...); #include "mupdf/annot.h" #include "mupdf/page.h" +#endif |