Re: libc6-dev: sys/user.h broken?
rainer herrendoerfer <rainer.2@tiscali.de> writes:
> did anybody try to include sys/user.h in a C program?
>
> test.c program in Sarge:
>
> #include <sys/user.h>
> int main (void)
> {
> return 0;
> }
>
> gcc returns lots of syntax errors:
<sys/user.h> isn't POSIX. Is it supposed to be used in this way?
You can work around the problem by including <sys/types.h> before
<sys/user.h>.
> Or is this a gcc bug?
I don't think so. If it is a bug at all, it's a bug in libc6-dev.
Martin
Reply to: