Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2010 10:00:14 GMT
From:      Bruce Evans <brde@optusnet.com.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/150772: csup should include limits.h instead of sys/limits.h
Message-ID:  <201009211000.o8LA0E79064741@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/150772; it has been noted by GNATS.

From: Bruce Evans <brde@optusnet.com.au>
To: Derrick Brashear <shadow@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject: Re: bin/150772: csup should include limits.h instead of sys/limits.h
Date: Tue, 21 Sep 2010 18:24:49 +1000 (EST)

 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009211000.o8LA0E79064741>