Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2003 20:25:02 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Darren Reed <darrenr@freebsd.org>
Cc:        FreeBSD-gnats-submit@freebsd.org
Subject:   Re: bin/55846: <sys/systm.h> and <sys/types.h> conflict for major()
Message-ID:  <20030822202023.W2651@gamplex.bde.org>
In-Reply-To: <20030821182911.E059F16A4C0@hub.freebsd.org>
References:  <20030821182911.E059F16A4C0@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?20030822202023.W2651>