Date: Fri, 22 Aug 2003 03:30:15 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/55846: <sys/systm.h> and <sys/types.h> conflict for major() Message-ID: <200308221030.h7MAUF5Z092624@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/55846; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> To: Darren Reed <darrenr@freebsd.org> Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: bin/55846: <sys/systm.h> and <sys/types.h> conflict for major() Date: Fri, 22 Aug 2003 20:25:02 +1000 (EST) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308221030.h7MAUF5Z092624>