"Rogier R. Mulhuijzen" wrote:
> 
> >In file included from /usr/include/sys/wait.h:93,
> >                  from vgaHW.c:44:
> >/usr/include/machine/endian.h:72: syntax error before
> >`__uint16_swap_unit32'
> >/usr/include/machine/endian.h:72: syntax error before `__x'
> ><snip>
> >
> >I've not seen this reported before, nor a work around.
> 
> I don't know which is "the right thing" but adding '#include <sys/types.h>'
> in front of either the '#include <sys/wait.h>' in vgaHW.c or in front of
> the '#include <machine/endian.h>' in /usr/include/sys/wait.h should fix
> your blues. I'm guessing one is the fix and the other is a workaround, but
> don't know which is which =) . I'm not up to speed on include rules...


<sys/types.h> is already defined in front of <sys/wait.h> in vgaHW.c :(

Patrick


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to