summaryrefslogtreecommitdiffstats
path: root/tests/storage
diff options
context:
space:
mode:
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_chewing_table.cpp4
-rw-r--r--tests/storage/test_matrix.cpp4
-rw-r--r--tests/storage/test_parser2.cpp4
-rw-r--r--tests/storage/test_phrase_table.cpp4
4 files changed, 16 insertions, 0 deletions
diff --git a/tests/storage/test_chewing_table.cpp b/tests/storage/test_chewing_table.cpp
index 469819f..f417c65 100644
--- a/tests/storage/test_chewing_table.cpp
+++ b/tests/storage/test_chewing_table.cpp
@@ -18,6 +18,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "timer.h"
#include <string.h>
#include "pinyin_internal.h"
diff --git a/tests/storage/test_matrix.cpp b/tests/storage/test_matrix.cpp
index b6af231..a746927 100644
--- a/tests/storage/test_matrix.cpp
+++ b/tests/storage/test_matrix.cpp
@@ -18,6 +18,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "timer.h"
#include <stdlib.h>
#include "pinyin_internal.h"
diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp
index 2752021..5c406ea 100644
--- a/tests/storage/test_parser2.cpp
+++ b/tests/storage/test_parser2.cpp
@@ -19,6 +19,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "timer.h"
#include <errno.h>
#include <stdio.h>
diff --git a/tests/storage/test_phrase_table.cpp b/tests/storage/test_phrase_table.cpp
index 0aebdde..041588d 100644
--- a/tests/storage/test_phrase_table.cpp
+++ b/tests/storage/test_phrase_table.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "timer.h"
#include <string.h>
#include "pinyin_internal.h"