summaryrefslogtreecommitdiffstats
path: root/utils/storage/gen_zhuyin_table.cpp
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 /utils/storage/gen_zhuyin_table.cpp
parentd9741044eed56707ba134ebda7a364f1df847699 (diff)
downloadlibpinyin-9bd208f580e907090037352dc39fbb1f95065eaf.tar.gz
libpinyin-9bd208f580e907090037352dc39fbb1f95065eaf.tar.xz
libpinyin-9bd208f580e907090037352dc39fbb1f95065eaf.zip
include config.h to allow using getline on freebsd
Diffstat (limited to 'utils/storage/gen_zhuyin_table.cpp')
-rw-r--r--utils/storage/gen_zhuyin_table.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/storage/gen_zhuyin_table.cpp b/utils/storage/gen_zhuyin_table.cpp
index 2cb6a0a..71a4e7b 100644
--- a/utils/storage/gen_zhuyin_table.cpp
+++ b/utils/storage/gen_zhuyin_table.cpp
@@ -19,6 +19,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <glib.h>
#include "pinyin_internal.h"