Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2001 13:44:30 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ollivier Robert <roberto@eurocontrol.fr>
Cc:        "FreeBSD Current Users' list" <freebsd-current@FreeBSD.ORG>
Subject:   Re: World breaks in sbin/fsdb [PATCH]
Message-ID:  <Pine.BSF.4.21.0103221339580.8384-100000@besplex.bde.org>
In-Reply-To: <20010321144307.F82319@caerdonn.eurocontrol.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Mar 2001, Ollivier Robert wrote:

> cvs diff: Diffing .
> Index: fsdbutil.c
> ===================================================================
> RCS file: /home/ncvs/src/sbin/fsdb/fsdbutil.c,v
> retrieving revision 1.10
> diff -u -2 -r1.10 fsdbutil.c
> --- fsdbutil.c  2000/05/01 20:01:16     1.10
> +++ fsdbutil.c  2001/03/21 13:42:01
> @@ -35,4 +35,5 @@
>  
>  #include <sys/types.h>
> +#include <sys/param.h>
>  #include <ctype.h>
>  #include <err.h>
> @@ -43,4 +44,5 @@
>  
>  #include <ufs/ufs/dinode.h>
> +#include <ufs/ffs/fs.h>
>  
>  #include "fsdb.h"

Index: style.9
===================================================================
RCS file: /home/ncvs/src/share/man/man9/style.9,v
retrieving revision 1.45
diff -c -2 -r1.45 style.9
*** style.9	2001/02/21 20:43:55	1.45
--- style.9	2001/03/22 02:38:45
***************
*** 52,58 ****
  .Ed
  .Pp
! Kernel include files (i.e. sys/*.h) come first; normally, you'll need
  <sys/types.h>
! OR <sys/param.h>, but not both!  <sys/types.h> includes <sys/cdefs.h>,
  and it's okay to depend on that.
  .Bd -literal
--- 52,58 ----
  .Ed
  .Pp
! Kernel include files (i.e. sys/*.h) come first; NORMALLY, YOU'LL NEED
  <sys/types.h>
! OR <sys/param.h>, BUT NOT BOTH!!  <sys/types.h> includes <sys/cdefs.h>,
  and it's okay to depend on that.
  .Bd -literal

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?Pine.BSF.4.21.0103221339580.8384-100000>