summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2018-08-19 01:58:59 +0800
committerPeng Wu <alexepico@gmail.com>2018-08-20 12:25:52 +0800
commit8149d9d308c4af3e4ec2b3598e58a5859f7156e5 (patch)
tree0008ebefd1b833d0692f1ebbe646f24437bf4ede
parentd3bc8e9c601ecf92ad6b00d5f7cc1029bdc39502 (diff)
downloadibus-libzhuyin-8149d9d308c4af3e4ec2b3598e58a5859f7156e5.zip
ibus-libzhuyin-8149d9d308c4af3e4ec2b3598e58a5859f7156e5.tar.gz
ibus-libzhuyin-8149d9d308c4af3e4ec2b3598e58a5859f7156e5.tar.xz
include config.h to allow using getline on freebsd
-rw-r--r--src/ZYSymbolLookup.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ZYSymbolLookup.cc b/src/ZYSymbolLookup.cc
index b5c2ce4..c4da7b3 100644
--- a/src/ZYSymbolLookup.cc
+++ b/src/ZYSymbolLookup.cc
@@ -20,6 +20,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "ZYSymbolLookup.h"
#include <stdio.h>
#include <string.h>