From: handa Date: Mon, 18 Apr 2005 06:22:23 +0000 (+0000) Subject: Include stdlib.h. X-Git-Tag: REL-1-3-0~327 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65ef8c564520da009302024b118c9ec2f21c3275;p=m17n%2Fm17n-lib.git Include stdlib.h. (wordseg_propertize): Add dummy function for the case that wordcut library doesn't exist. --- diff --git a/src/word-thai.c b/src/word-thai.c index 83dde2e..17b2b7f 100644 --- a/src/word-thai.c +++ b/src/word-thai.c @@ -21,6 +21,7 @@ 02111-1307, USA. */ #include +#include #include "config.h" #include "m17n-core.h" @@ -181,6 +182,13 @@ fini_wordseg_library (void) return; } +static MTextProperty * +wordseg_propertize (MText *mt, int pos, int from, int to, unsigned char *tis) +{ + return NULL; +} + + #endif /* not HAVE_WORDCUT nor HAVE_WORDCUT_OLD */ int