diff options
author | Peng Wu <alexepico@gmail.com> | 2013-03-22 11:18:35 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-03-22 11:18:35 +0800 |
commit | aa1e6359c4a3bb43f21bee6730c18f892d5977e7 (patch) | |
tree | c4173da3d0fc90066e8f39d7b508aef51efcab86 | |
parent | 2cc2dadc6bf0149f1a0ed386880e3fb4262e3b67 (diff) | |
download | libpinyin-aa1e6359c4a3bb43f21bee6730c18f892d5977e7.tar.gz libpinyin-aa1e6359c4a3bb43f21bee6730c18f892d5977e7.tar.xz libpinyin-aa1e6359c4a3bb43f21bee6730c18f892d5977e7.zip |
fixes compile
-rw-r--r-- | src/pinyin.h | 3 | ||||
-rw-r--r-- | tests/test_chewing.cpp | 1 | ||||
-rw-r--r-- | tests/test_phrase.cpp | 1 | ||||
-rw-r--r-- | tests/test_pinyin.cpp | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/src/pinyin.h b/src/pinyin.h index 6002315..be9f1bf 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -23,10 +23,11 @@ #ifndef PINYIN_H #define PINYIN_H -#include <stdio.h> + #include "novel_types.h" #include "pinyin_custom2.h" + G_BEGIN_DECLS typedef struct _ChewingKey ChewingKey; diff --git a/tests/test_chewing.cpp b/tests/test_chewing.cpp index f74cf02..5a5701f 100644 --- a/tests/test_chewing.cpp +++ b/tests/test_chewing.cpp @@ -21,6 +21,7 @@ #include "pinyin.h" +#include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/tests/test_phrase.cpp b/tests/test_phrase.cpp index 72639e1..6e5ef3b 100644 --- a/tests/test_phrase.cpp +++ b/tests/test_phrase.cpp @@ -21,6 +21,7 @@ #include "pinyin.h" +#include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp index 76a235e..f94263b 100644 --- a/tests/test_pinyin.cpp +++ b/tests/test_pinyin.cpp @@ -21,6 +21,7 @@ #include "pinyin.h" +#include <stdio.h> #include <stdlib.h> #include <string.h> |