summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gd/php_gd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h
index 3c60007a78..c42ebade13 100644
--- a/ext/gd/php_gd.h
+++ b/ext/gd/php_gd.h
@@ -123,9 +123,12 @@ PHP_FUNCTION(imagegrabscreen);
PHP_FUNCTION(imagerotate);
+#ifdef HAVE_GD_IMAGE_FLIP
+PHP_FUNCTION(imageflip);
+#endif
+
#ifdef HAVE_GD_BUNDLED
PHP_FUNCTION(imageantialias);
-PHP_FUNCTION(imageflip);
PHP_FUNCTION(imagecrop);
PHP_FUNCTION(imagecropauto);
PHP_FUNCTION(imagescale);