Subject: Re: CVS commit: src
To: Takuya SHIOZAKI <>
From: Valeriy E. Ushakov <>
List: source-changes
Date: 03/11/2003 00:30:16
On Mon, Mar 10, 2003 at 23:18:51 +0200, Takuya SHIOZAKI wrote:

> Modified Files:
> 	src/lib/libc/locale: rune.h runeglue.c runetype.h
> 	src/usr.bin/mklocale: lex.l yacc.y
> Log Message:
> rename _CTYPE_x to _RUNETYPE_x for avoiding compile error on FreeBSD.

It still fails on 4.x.  As I wrote in the previous email, we probably
want to include *our* ctype.h when building mklocale as a host tool.
NB, mklocale doesn't *use* host's ctype.h services.

At ther very least it needs:

#if defined(__FreeBSD__)

as it expects its own runetype.h but gets ours.

Even then it fails with

/nb/src/lib/libc/locale/runetype.h:53: redefinition of `rune_t'
/usr/include/stdlib.h:46: `rune_t' previously declared here

Thanks for looking into this!

SY, Uwe
--                         |       Zu Grunde kommen            |       Ist zu Grunde gehen