From c06e37eb51282cb8e8015ddebac5edd7ba4ce57f Mon Sep 17 00:00:00 2001 From: Raghu Gandham Date: Thu, 15 Mar 2012 17:13:24 -0700 Subject: [PATCH] ndk: Include limits.h in wchar.h as it contains the definitions for INT_MAX and INT_MIN. Without this fix, the following lines will fail when configuring gnu stdlibc++ library. (INT_MAX and INT_MIN are undefined.) #define WCHAR_MAX INT_MAX #define WCHAR_MIN INT_MIN Change-Id: Ifa87cf011cf7068c48755fc9ce5c0d73e95ef2dc Signed-off-by: Chao-Ying Fu --- ndk/platforms/android-9/include/wchar.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ndk/platforms/android-9/include/wchar.h b/ndk/platforms/android-9/include/wchar.h index 9b744a50c..86d6d7339 100644 --- a/ndk/platforms/android-9/include/wchar.h +++ b/ndk/platforms/android-9/include/wchar.h @@ -28,6 +28,7 @@ #ifndef _WCHAR_H_ #define _WCHAR_H_ +#include #include #include