summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd_png.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/libgd/gd_png.c')
-rw-r--r--ext/gd/libgd/gd_png.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd_png.c b/ext/gd/libgd/gd_png.c
index 7591dc0c67..e15ede73cc 100644
--- a/ext/gd/libgd/gd_png.c
+++ b/ext/gd/libgd/gd_png.c
@@ -36,6 +36,11 @@
---------------------------------------------------------------------------*/
+const char * gdPngGetVersionString()
+{
+ return PNG_LIBPNG_VER_STRING;
+}
+
#ifndef PNG_SETJMP_NOT_SUPPORTED
typedef struct _jmpbuf_wrapper
{