summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-08-30 02:41:52 +0000
committerfoobar <sniper@php.net>2002-08-30 02:41:52 +0000
commitbda34955db66f34d1e190fe80671b540cbf4cf6c (patch)
tree18836fb9dcff47e4d1532bb4217d7de7cd852525 /ext
parent81dcd62bc27543043ece3a09a6215267088cc0fe (diff)
downloadphp-git-bda34955db66f34d1e190fe80671b540cbf4cf6c.tar.gz
Fix the build when bundled gd library is used
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