From 4b6908881c99ff073d5946eceeda0dc8bf6f54cd Mon Sep 17 00:00:00 2001 From: kstailey Date: Sat, 1 Mar 1997 21:24:46 +0000 Subject: [PATCH] Allow building of kernels that do not keep malloc statistics via "options NO_KMEMSTATS" in the config file. Does not change default behavior. --- sys/sys/malloc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h index 63743b5102d..4b87be6fa20 100644 --- a/sys/sys/malloc.h +++ b/sys/sys/malloc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc.h,v 1.9 1997/02/20 01:07:34 deraadt Exp $ */ +/* $OpenBSD: malloc.h,v 1.10 1997/03/01 21:24:46 kstailey Exp $ */ /* $NetBSD: malloc.h,v 1.23 1996/04/05 04:52:52 mhitch Exp $ */ /* @@ -39,7 +39,9 @@ #ifndef _SYS_MALLOC_H_ #define _SYS_MALLOC_H_ +#ifndef NO_KMEMSTATS #define KMEMSTATS +#endif /* * flags to malloc -- 2.20.1