summaryrefslogtreecommitdiffstats
path: root/tests/lookup
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lookup')
-rw-r--r--tests/lookup/test_phrase_lookup.cpp4
-rw-r--r--tests/lookup/test_pinyin_lookup.cpp4
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/lookup/test_phrase_lookup.cpp b/tests/lookup/test_phrase_lookup.cpp
index 4febcc7..3a475b9 100644
--- a/tests/lookup/test_phrase_lookup.cpp
+++ b/tests/lookup/test_phrase_lookup.cpp
@@ -19,6 +19,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <locale.h>
#include "pinyin_internal.h"
diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp
index 26c2d73..b0af455 100644
--- a/tests/lookup/test_pinyin_lookup.cpp
+++ b/tests/lookup/test_pinyin_lookup.cpp
@@ -19,6 +19,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "timer.h"
#include <string.h>
#include "pinyin_internal.h"