summaryrefslogtreecommitdiff
path: root/ext/gd/php_gd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/php_gd.h')
-rw-r--r--ext/gd/php_gd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h
index 10e92336d7..55f7ce137c 100644
--- a/ext/gd/php_gd.h
+++ b/ext/gd/php_gd.h
@@ -112,12 +112,14 @@ PHP_FUNCTION(imagecreatefromstring);
PHP_FUNCTION(imagecreatefromgif);
PHP_FUNCTION(imagecreatefromjpeg);
PHP_FUNCTION(imagecreatefromxbm);
-PHP_FUNCTION(imagecreatefromxpm);
PHP_FUNCTION(imagecreatefrompng);
PHP_FUNCTION(imagecreatefromwbmp);
PHP_FUNCTION(imagecreatefromgd);
PHP_FUNCTION(imagecreatefromgd2);
PHP_FUNCTION(imagecreatefromgd2part);
+#if defined(HAVE_GD_XPM) && defined(HAVE_GD_BUNDLED)
+PHP_FUNCTION(imagecreatefromxpm);
+#endif
PHP_FUNCTION(imagegammacorrect);
PHP_FUNCTION(imagedestroy);