Buggy System Headers?
Buggy System Headers?
- Subject: Buggy System Headers?
- From: David Kopec <email@hidden>
- Date: Wed, 15 Aug 2001 20:50:40 -0400
When using
<sys/resource.h>
and
<sys/types.h>
I get errors:
In file included from mic.c:8:
/usr/include/sys/resource.h:79: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:80: field `ru_stime' has incomplete type
make: *** [mic.o] Error 1
and
/usr/include/sys/types.h:182: illegal member declaration, missing name,
found `215'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from /usr/include/stdio.h:64,
from basic.h:3,
from bprolog.h:2,
from event.c:2:
/usr/include/sys/types.h:182: parse error before `215'
/usr/include/sys/types.h:182: warning: no semicolon at end of struct or
union
/usr/include/sys/types.h:184: parse error before `}'
make: *** [event.o] Error 1
Does anybody know if these files are buggy, or can anyone point in the
direction of someone who does(Possibly somebody at Apple to contact)?