projects
/
platform
/
upstream
/
libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c8cad5
)
fixes kfreebsd build
author
Peng Wu
<alexepico@gmail.com>
Fri, 25 May 2012 04:06:07 +0000
(12:06 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Fri, 25 May 2012 04:06:07 +0000
(12:06 +0800)
src/pinyin_internal.h
patch
|
blob
|
history
diff --git
a/src/pinyin_internal.h
b/src/pinyin_internal.h
index
f1b0309
..
342ea6a
100644
(file)
--- a/
src/pinyin_internal.h
+++ b/
src/pinyin_internal.h
@@
-49,4
+49,11
@@
using namespace pinyin;
+/* the following fixes build on Debian GNU/kFreeBSD */
+#include <errno.h>
+#ifndef ENODATA
+#define ENODATA ENOENT
+#endif
+
+
#endif