Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 18:42:45 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Bill Fenner <fenner@research.att.com>
Cc:        <current@FreeBSD.ORG>
Subject:   Re: Broken (?) unistd.h
Message-ID:  <20020227183827.R47743-100000@gamplex.bde.org>
In-Reply-To: <200202270504.g1R54JZ03166@stash.attlabs.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Feb 2002, Bill Fenner wrote:

> Here's a patch for bind's port/freebsd/include/port_before.h .
>
> --- port_before.h.orig	Tue Feb 26 20:57:35 2002
> +++ port_before.h	Tue Feb 26 21:02:18 2002
> @@ -15,6 +15,7 @@
>  #define SETPWENT_VOID
>  #endif
>
> +#include <sys/param.h>
>  #include <sys/types.h>

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.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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