bin/55846: <sys/systm.h> and <sys/types.h> conflict for major()
Bruce Evans
bde at zeta.org.au
Fri Aug 22 03:25:11 PDT 2003
On Thu, 21 Aug 2003, Darren Reed wrote:
> >Description:
> Including <sys/types.h> and <sys/systm.h> for non-kernel compiles
> causes the following problem:
> /usr/include/sys/systm.h:346: syntax error before `int'
> /usr/include/sys/systm.h:347: syntax error before `int'
> /usr/include/sys/systm.h:348: syntax error before `('
Don't do that then. <sys/systm.h> is kernel-only.
Bruce
More information about the freebsd-bugs
mailing list