On Mon, 30 Apr 2007 15:43:48 -0700
[EMAIL PROTECTED] wrote:

[...]
> and compilation gets past that file. It next dies on libtc/iodir.c with:
> 
>  gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall
> -Wstrict-prototypes -Wmissing-prototypes -g -O2 -MT iodir.lo -MD -MP
> -MF .deps/iodir.Tpo -c iodir.c  -fno-common -DPIC -o .libs/iodir.o In file
> included from iodir.c:25: iodir.h:40: error: 'PATH_MAX' undeclared here
> (not in a function) make[2]: *** [iodir.lo] Error 1 make[1]: ***
> [all-recursive] Error 1 make: *** [all] Error 2
> 
> I modified libtc/iodir.h with the following line:
> 
> #include <sys/param.h>  # pick up definition of PATH_MAX
[...]

I'll fix this adding one more #include, even if iodir.c is supposed to
(finally!) go away soon.

Bests,


-- 
Francesco Romani - Ikitt ['people always complain, no matther what you do']
IM contact    : (email first, Antispam default deny!) icq://27-83-87-867
tiny homepage : http://fromani.exit1.org (see IDEAS if you want send code!)
known bugs    : http://tcfoundry.hostme.it/mantis (EXPERIMENTAL)

Reply via email to