From cdf349cf1183ed3d0e85120857051ec4a4105bda Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 19 Feb 2015 22:41:50 -0800 Subject: [PATCH] Add missing include to the native app glue. On LP64, this could have caused the top bits of the pointer returned by malloc to be lost because sizeof(int) != sizeof(void*). Change-Id: I866a5071c1d359478d020d7fa4d466b53d52edab --- ndk/sources/android/native_app_glue/android_native_app_glue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ndk/sources/android/native_app_glue/android_native_app_glue.c b/ndk/sources/android/native_app_glue/android_native_app_glue.c index 55a52bc0e..d503d8dad 100644 --- a/ndk/sources/android/native_app_glue/android_native_app_glue.c +++ b/ndk/sources/android/native_app_glue/android_native_app_glue.c @@ -18,6 +18,7 @@ #include #include +#include #include #include #include