File sunpinyin-gcc47.patch of Package sunpinyin

--- src/lexicon/genPYT.cpp	2012-02-05 17:28:01.000000000 +0100
+++ src/lexicon/genPYT.cpp	2012-03-17 23:59:12.116605521 +0100
@@ -37,7 +37,7 @@
 
 #include <locale.h>
 #include <stdlib.h>
-
+#include <unistd.h>
 #include "pytrie.h"
 #include "pytrie_gen.h"
 #include "../slm/slm.h"
 
--- src/ime-core/ic_history.cpp	2012-02-05 17:28:01.000000000 +0100
+++ src/ime-core/ic_history.cpp	2012-03-18 00:10:24.387297778 +0100
@@ -42,6 +42,7 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdint.h>
+#include <unistd.h>
 #include <cassert>
 #include <arpa/inet.h>
 #include <sys/stat.h>

openSUSE Build Service is sponsored by