summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/pdf/pdf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c
index c019b2f7b1..ddc7262aec 100644
--- a/ext/pdf/pdf.c
+++ b/ext/pdf/pdf.c
@@ -40,7 +40,11 @@
#if HAVE_LIBGD13
#include "ext/gd/php_gd.h"
+#if HAVE_GD_BUNDLED
+#include "ext/gd/libgd/gd.h"
+#else
#include "gd.h"
+#endif
static int le_gd;
#endif