summaryrefslogtreecommitdiff
path: root/ext/gd/gd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/gd.c')
-rw-r--r--ext/gd/gd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 51ac436b1f..9e3b507880 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -937,6 +937,8 @@ PHP_FUNCTION(imagetypes)
/* {{{ _php_image_type
*/
+static const char php_sig_gd2[3] = {'g', 'd', '2'};
+
static int _php_image_type (char data[8])
{
#ifdef HAVE_LIBGD15