Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 0c225ef3cc062a32f6c515f297c438ec > files > 4

sunpinyin-2.0.3-2.mga3.src.rpm

--- sunpinyin-2.0.3/src/lexicon/genPYT.cpp~	2011-02-18 11:39:52.000000000 +0800
+++ sunpinyin-2.0.3/src/lexicon/genPYT.cpp	2012-10-23 09:25:26.725777730 +0800
@@ -37,6 +37,7 @@
 
 #include <locale.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "pytrie.h"
 #include "pytrie_gen.h"
--- sunpinyin-2.0.3/src/ime-core/ic_history.cpp~	2011-02-18 11:39:52.000000000 +0800
+++ sunpinyin-2.0.3/src/ime-core/ic_history.cpp	2012-10-23 09:28:26.280582792 +0800
@@ -42,6 +42,7 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdint.h>
+#include <unistd.h>
 #include <cassert>
 #include <sys/stat.h>
 #include <sys/types.h>