Date: Tue, 21 Sep 2010 18:24:49 +1000 (EST) From: Bruce Evans <brde@optusnet.com.au> To: Derrick Brashear <shadow@gmail.com> Cc: freebsd-bugs@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/150772: csup should include limits.h instead of sys/limits.h Message-ID: <20100921181800.S1390@besplex.bde.org> In-Reply-To: <201009210642.o8L6ghK4085124@www.freebsd.org>
index | next in thread | previous in thread | raw e-mail
On Tue, 21 Sep 2010, Derrick Brashear wrote:
>> Description:
> All but one inclusion of limits.h use the portable (/usr/include) header path; One uses sys/limits.h, which is included by limits.h.
I wonder if we could properly break unportable includers. In this case,
maybe use one of:
A. Don't install <sys/limits.h>. Requires some reorganization, since
<limits.h> incudes it now.
B. #error if <sys/limits.h> is included by anything except <limits.h>
outside of the kernel.
Bruce
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100921181800.S1390>
