From 083ed4558652fdfc1324b1b09447e46b873a876a Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 1 Feb 2003 21:05:54 +0000 Subject: [PATCH] Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoid build failure because MALLOC_DECLARE() is not defined. --- usr.sbin/pstat/pstat.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index ee8df223afce..5b11e5fb96a4 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: pstat.c,v 1.77 2003/01/20 07:12:13 simonb Exp $ */ +/* $NetBSD: pstat.c,v 1.78 2003/02/01 21:05:54 tron Exp $ */ /*- * Copyright (c) 1980, 1991, 1993, 1994 @@ -43,11 +43,14 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\n\ #if 0 static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95"; #else -__RCSID("$NetBSD: pstat.c,v 1.77 2003/01/20 07:12:13 simonb Exp $"); +__RCSID("$NetBSD: pstat.c,v 1.78 2003/02/01 21:05:54 tron Exp $"); #endif #endif /* not lint */ #include +#define _KERNEL +#include +#undef _KERNEL #include #include #include