diff options
author | bde <bde@FreeBSD.org> | 1998-11-15 14:11:06 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-11-15 14:11:06 +0000 |
commit | 3dcf72bbf97de350f5cda1dab5a747fd18927bc8 (patch) | |
tree | 64beb3d4c20547d90941afa698ee71ca0fdc52c2 /sys | |
parent | 7d319d0a3e8f9d38f58d991c6472f7135e8c4660 (diff) | |
download | FreeBSD-src-3dcf72bbf97de350f5cda1dab5a747fd18927bc8.zip FreeBSD-src-3dcf72bbf97de350f5cda1dab5a747fd18927bc8.tar.gz |
Fixed a missing include. <sys/kernel.h> is needed by the new
MALLOC_DEFINE() and MALLOC_DEFINE() is needed by the recently
reenabled "reallocblks" code, but <sys/kernel.h> was only included
if CLUSTERDEBUG was defined. This was too harmless. gcc only
warns about garbage like `SYSINIT(blech);' at file scope ...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_cluster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 2fcdbd9..d0c665f 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -33,13 +33,14 @@ * SUCH DAMAGE. * * @(#)vfs_cluster.c 8.7 (Berkeley) 2/13/94 - * $Id: vfs_cluster.c,v 1.71 1998/10/25 17:44:52 phk Exp $ + * $Id: vfs_cluster.c,v 1.72 1998/11/13 01:01:40 dg Exp $ */ #include "opt_debug_cluster.h" #include <sys/param.h> #include <sys/systm.h> +#include <sys/kernel.h> #include <sys/proc.h> #include <sys/buf.h> #include <sys/vnode.h> @@ -53,7 +54,6 @@ #if defined(CLUSTERDEBUG) #include <sys/sysctl.h> -#include <sys/kernel.h> static int rcluster= 0; SYSCTL_INT(_debug, OID_AUTO, rcluster, CTLFLAG_RW, &rcluster, 0, ""); #endif |