Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 14:34:03 +0000
From:      Patrick Gardella <patrick@freebsd.org>
To:        "Rogier R. Mulhuijzen" <rmulhuijzen@transfer-solutions.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: XFree86 3.3.6_3 build dies on -current
Message-ID:  <39F59DDB.5C41E896@freebsd.org>
References:  <4.2.0.58.20001024161521.00b82800@mail.drwilco.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39F59DDB.5C41E896>