Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 1995 17:13:28 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        chuckr@glue.umd.edu, roberto@keltia.freenix.fr
Cc:        FreeBSD-current@FreeBSD.org
Subject:   Re: Make world falling over
Message-ID:  <199510290613.RAA26343@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> cc -O -DLIBC_RCS -DSYSLIBC_RCS -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib//ibc/locale -DYP -c /usr/src/lib/libc/gen/sysconf.c -o sysconf.o
>> In file included from /usr/src/lib/libc/gen/sysconf.c:43
>> /usr/include/sys/resource.h:58: field `ru_utime' has incomplete type
>> /usr/include/sys/resource.h:59: field `ru_utime' has incomplete type
>> *** Error code 1
>> 
>> Anyone know why?  I could use some help here ...

>You could fix it by adding "#include  <sys/time.h>" but the real problem is
>why is it falling down *now* ? I don't see  anything related in the CVS log
>for either gen/sysconf.h or sys/resource.h. Why did I miss too ?

<sys/sysctl.h> was fixed to not include massive namespace pollution from
<sys/time.h>, <sys/ucred.h>, <sys/proc.h> and <vm/vm.h>.  sysconf.c bogusly
depends on some of this namespace pollution.

Even more bogusly, init/init.c depends on this namespace pollution for
the definitions of TRUE and FALSE.  These are exported by <vm/vm_param.h>
which is included by <vm/vm.h>.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510290613.RAA26343>