]> granicus.if.org Git - libjpeg-turbo/commitdiff
Fix broken build with NDK platforms < android-21
authorDRC <information@libjpeg-turbo.org>
Thu, 22 Sep 2016 19:19:29 +0000 (14:19 -0500)
committerDRC <information@libjpeg-turbo.org>
Thu, 22 Sep 2016 19:22:45 +0000 (14:22 -0500)
Regression introduced by a09ba29a55b9a43d346421210d94370065eeaf53

Fixes #103

ChangeLog.md
jmemmgr.c

index 7f417a494761d4b4a78d969d028163fa0ff05d03..e2b9df33944094648d63ff5718c6ab7a4372b7db 100644 (file)
@@ -1,3 +1,12 @@
+1.5.2
+=====
+
+### Significant changes relative to 1.5.1:
+
+1. Fixed a regression introduced by 1.5.1[7] that prevented libjpeg-turbo from
+building with Android NDK platforms prior to android-21 (5.0).
+
+
 1.5.1
 =====
 
index adccbdfade991766232139fa141596a131a27753..b17c5c5c656e45f53a5ce8d0d5b860228ab59047 100644 (file)
--- a/jmemmgr.c
+++ b/jmemmgr.c
@@ -33,6 +33,7 @@
 #include "jpeglib.h"
 #include "jmemsys.h"            /* import the system-dependent declarations */
 #include <stdint.h>
+#include <limits.h>
 
 #ifndef NO_GETENV
 #ifndef HAVE_STDLIB_H           /* <stdlib.h> should declare getenv() */