summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd_jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/libgd/gd_jpeg.c')
-rw-r--r--ext/gd/libgd/gd_jpeg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd_jpeg.c b/ext/gd/libgd/gd_jpeg.c
index 9573c1cf69..a71469137f 100644
--- a/ext/gd/libgd/gd_jpeg.c
+++ b/ext/gd/libgd/gd_jpeg.c
@@ -102,6 +102,11 @@ static void fatal_jpeg_error (j_common_ptr cinfo)
exit (99);
}
+int gdJpegGetVersionInt()
+{
+ return JPEG_LIB_VERSION;
+}
+
/*
* Write IM to OUTFILE as a JFIF-formatted JPEG image, using quality
* QUALITY. If QUALITY is in the range 0-100, increasing values