From 65ef8c564520da009302024b118c9ec2f21c3275 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 18 Apr 2005 06:22:23 +0000 Subject: [PATCH] Include stdlib.h. (wordseg_propertize): Add dummy function for the case that wordcut library doesn't exist. --- src/word-thai.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 1.7.10.4