summaryrefslogtreecommitdiff
path: root/pdf/pdf_plotters.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_plotters.c')
-rw-r--r--pdf/pdf_plotters.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pdf/pdf_plotters.c b/pdf/pdf_plotters.c
index 50d7067eb..c641eef8f 100644
--- a/pdf/pdf_plotters.c
+++ b/pdf/pdf_plotters.c
@@ -22,6 +22,9 @@
* boundaries a 'fuzzy' bottom margin.
*/
+#include "utils/config.h"
+#ifdef WITH_PDF_EXPORT
+
#include <stdlib.h>
#include <string.h>
#include "hpdf.h"
@@ -771,4 +774,6 @@ void pdf_page_apply_notext_clip()
#endif
}
+#endif /* WITH_PDF_EXPORT */
+