Skip to content

Commit dfefba7

Browse files
committed
Fix broken build with NDK platforms < android-21
Regression introduced by a09ba29 Fixes #103
1 parent 4cf67f2 commit dfefba7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ChangeLog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
1.5.2
2+
=====
3+
4+
### Significant changes relative to 1.5.1:
5+
6+
1. Fixed a regression introduced by 1.5.1[7] that prevented libjpeg-turbo from
7+
building with Android NDK platforms prior to android-21 (5.0).
8+
9+
110
1.5.1
211
=====
312

jmemmgr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include "jpeglib.h"
3434
#include "jmemsys.h" /* import the system-dependent declarations */
3535
#include <stdint.h>
36+
#include <limits.h>
3637

3738
#ifndef NO_GETENV
3839
#ifndef HAVE_STDLIB_H /* <stdlib.h> should declare getenv() */

0 commit comments

Comments
 (0)