diff --git a/native/jni/src/suggest/core/dictionary/unigram_property.h b/native/jni/src/suggest/core/dictionary/unigram_property.h
index e93093bf4edb7b79006eaeb8c829944d78ff2d05..c4ebb86abcd7a6c2f08d616a2e711437646433bf 100644
--- a/native/jni/src/suggest/core/dictionary/unigram_property.h
+++ b/native/jni/src/suggest/core/dictionary/unigram_property.h
@@ -17,6 +17,7 @@
 #ifndef LATINIME_UNIGRAM_PROPERTY_H
 #define LATINIME_UNIGRAM_PROPERTY_H
 
+#include <cstring>
 #include <vector>
 
 #include "defines.h"
@@ -31,8 +32,7 @@ class UnigramProperty {
     UnigramProperty()
             : mCodePoints(), mCodePointCount(0), mIsNotAWord(false), mIsBlacklisted(false),
               mHasBigrams(false), mHasShortcuts(false), mProbability(NOT_A_PROBABILITY),
-              mTimestamp(0), mLevel(0), mCount(0), mShortcutTargets(),
-              mShortcutProbabilities() {}
+              mTimestamp(0), mLevel(0), mCount(0), mShortcutTargets(), mShortcutProbabilities() {}
 
     UnigramProperty(const UnigramProperty &unigramProperty)
             : mCodePoints(), mCodePointCount(unigramProperty.mCodePointCount),