From 5049f5bbb4aec4fd7daefd9a904e072526bb9ecb Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 28 Oct 2011 16:24:31 +0900 Subject: [PATCH] Fix trivial compile issue Change-Id: I9dbc51496dbdb2195bbe589b0c3b2cd7e3d2f1fc --- native/jni/com_android_inputmethod_latin_BinaryDictionary.cpp | 1 + native/src/proximity_info.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/native/jni/com_android_inputmethod_latin_BinaryDictionary.cpp b/native/jni/com_android_inputmethod_latin_BinaryDictionary.cpp index 18c972444..c5d1ba5e4 100644 --- a/native/jni/com_android_inputmethod_latin_BinaryDictionary.cpp +++ b/native/jni/com_android_inputmethod_latin_BinaryDictionary.cpp @@ -33,6 +33,7 @@ #include #include #include +#include #else // USE_MMAP_FOR_DICTIONARY #include #endif // USE_MMAP_FOR_DICTIONARY diff --git a/native/src/proximity_info.h b/native/src/proximity_info.h index 35e354c6e..19b84cc11 100644 --- a/native/src/proximity_info.h +++ b/native/src/proximity_info.h @@ -21,6 +21,10 @@ #include "defines.h" +#ifndef NULL +#define NULL 0 +#endif + namespace latinime { class Correction;