On Wed, 27 Feb 2002, Doug Barton wrote:

> On Wed, 27 Feb 2002, Bruce Evans wrote:
> > >From style(9):
> >
> >      Kernel include files (i.e. sys/*.h) come first; normally, include
> >      <sys/types.h> OR <sys/param.h>, but not both.  <sys/types.h> includes
> >      <sys/cdefs.h>, and it is okay to depend on that.
> Based on a suggestion from someone else, I actually generated the same
> patch that Bill did. Without including sys/param.h, there is no definition
> of __FreeBSD_version at this point in the process, so the test always
> fails. If there is a more correct way to test, I'll be glad to use it,
> otherwise I'll have to go with what works.

Include the necessary header, but not both.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to