From 6f720f328c6c0250a685db1fb773c61c6ae3076e Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 25 May 2012 12:06:07 +0800 Subject: fixes kfreebsd build --- src/pinyin_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pinyin_internal.h b/src/pinyin_internal.h index f1b0309..342ea6a 100644 --- 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 +#ifndef ENODATA +#define ENODATA ENOENT +#endif + + #endif -- cgit