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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h
index d008e49a76..2af7887ebc 100644
--- a/ext/gd/php_gd.h
+++ b/ext/gd/php_gd.h
@@ -64,6 +64,9 @@ PHPAPI extern const char php_sig_png[8];
extern zend_module_entry gd_module_entry;
#define phpext_gd_ptr &gd_module_entry
+#include "php_version.h"
+#define PHP_GD_VERSION PHP_VERSION
+
/* gd.c functions */
PHP_MINFO_FUNCTION(gd);
PHP_MINIT_FUNCTION(gd);