summaryrefslogtreecommitdiff
path: root/ext/pdf/php_pdf.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdf/php_pdf.h')
-rw-r--r--ext/pdf/php_pdf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pdf/php_pdf.h b/ext/pdf/php_pdf.h
index 0be649a44a..fb4f51dd07 100644
--- a/ext/pdf/php_pdf.h
+++ b/ext/pdf/php_pdf.h
@@ -33,6 +33,10 @@
#if HAVE_PDFLIB
+/* with version 2.20 of pdflib PDF_open_mem isn't available unless
+ the following define isn't there.
+ #define PDF_OPEN_MEM_SUPPORTED
+*/
#include <pdflib.h>
extern int le_fp;