summaryrefslogtreecommitdiff
path: root/ext/cpdf
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-12-06 16:33:57 +0000
committerMarcus Boerger <helly@php.net>2002-12-06 16:33:57 +0000
commite0a972c061c4aa34b81824facf4c79aeb2579841 (patch)
tree384831c958c4e857956102ee6954cc24f78be58f /ext/cpdf
parent646c4747b4626016b65863960f9eaa3c13b6e962 (diff)
downloadphp-git-e0a972c061c4aa34b81824facf4c79aeb2579841.tar.gz
cpdf + bundled gd
#maybe someone finds a better solution (perhaps in config) and comitts it
Diffstat (limited to 'ext/cpdf')
-rw-r--r--ext/cpdf/cpdf.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/cpdf/cpdf.c b/ext/cpdf/cpdf.c
index 7265c1056e..3d3b3fae05 100644
--- a/ext/cpdf/cpdf.c
+++ b/ext/cpdf/cpdf.c
@@ -37,8 +37,12 @@
#include "ext/standard/php_standard.h"
#include "ext/standard/head.h"
#include <math.h>
-#if HAVE_LIBGD13
-#include <gd.h>
+#if HAVE_GD_BUNDLED
+# include "../gd/libgd/gd.h"
+#else
+# if HAVE_LIBGD13
+# include <gd.h>
+# endif
#endif
#ifdef HAVE_UNISTD_H