summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_chewing.cpp3
-rw-r--r--tests/test_phrase.cpp3
-rw-r--r--tests/test_pinyin.cpp3
3 files changed, 6 insertions, 3 deletions
diff --git a/tests/test_chewing.cpp b/tests/test_chewing.cpp
index 2a2674e..5f1b000 100644
--- a/tests/test_chewing.cpp
+++ b/tests/test_chewing.cpp
@@ -20,8 +20,9 @@
*/
-#include <stdlib.h>
#include "pinyin.h"
+#include <stdlib.h>
+#include <string.h>
int main(int argc, char * argv[]){
pinyin_context_t * context =
diff --git a/tests/test_phrase.cpp b/tests/test_phrase.cpp
index 01cd4cc..ef32d09 100644
--- a/tests/test_phrase.cpp
+++ b/tests/test_phrase.cpp
@@ -20,8 +20,9 @@
*/
-#include <stdlib.h>
#include "pinyin.h"
+#include <stdlib.h>
+#include <string.h>
int main(int argc, char * argv[]){
pinyin_context_t * context =
diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp
index 3162cb3..f965bdf 100644
--- a/tests/test_pinyin.cpp
+++ b/tests/test_pinyin.cpp
@@ -20,8 +20,9 @@
*/
-#include <stdlib.h>
#include "pinyin.h"
+#include <stdlib.h>
+#include <string.h>
int main(int argc, char * argv[]){
pinyin_context_t * context =