From 3bdcb68d16ab1f24ea4bea845f35c484fb83b2c0 Mon Sep 17 00:00:00 2001 From: Boris Popov Date: Thu, 3 May 2001 08:57:26 +0000 Subject: [PATCH] Wrap around MALLOC_DECLARE() invocation with #ifdef. --- sys/sys/lockf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/lockf.h b/sys/sys/lockf.h index cded00f686b..836c7a999c7 100644 --- a/sys/sys/lockf.h +++ b/sys/sys/lockf.h @@ -44,7 +44,9 @@ struct vop_advlock_args; +#ifdef MALLOC_DECLARE MALLOC_DECLARE(M_LOCKF); +#endif /* * The lockf structure is a kernel structure which contains the information