summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2018-08-19 01:53:47 +0800
committerPeng Wu <alexepico@gmail.com>2018-08-20 12:17:10 +0800
commit9bd208f580e907090037352dc39fbb1f95065eaf (patch)
tree8a2f4009d9dedde5d9f791cd811cfdd393b128dd /tests
parentd9741044eed56707ba134ebda7a364f1df847699 (diff)
downloadlibpinyin-9bd208f580e907090037352dc39fbb1f95065eaf.tar.gz
include config.h to allow using getline on freebsd
Diffstat (limited to 'tests')
-rw-r--r--tests/test_zhuyin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_zhuyin.cpp b/tests/test_zhuyin.cpp
index 0fe840d..442bdb3 100644
--- a/tests/test_zhuyin.cpp
+++ b/tests/test_zhuyin.cpp
@@ -19,6 +19,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "zhuyin.h"
#include <stdio.h>
#include <stdlib.h>