fixes kfreebsd build
authorPeng Wu <alexepico@gmail.com>
Fri, 25 May 2012 04:06:07 +0000 (12:06 +0800)
committerPeng Wu <alexepico@gmail.com>
Fri, 25 May 2012 04:06:07 +0000 (12:06 +0800)
src/pinyin_internal.h

index f1b0309..342ea6a 100644 (file)
 using namespace pinyin;
 
 
+/* the following fixes build on Debian GNU/kFreeBSD */
+#include <errno.h>
+#ifndef ENODATA
+#define ENODATA ENOENT
+#endif
+
+
 #endif