summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2001-05-03 08:57:26 +0000
committerbp <bp@FreeBSD.org>2001-05-03 08:57:26 +0000
commit88b26e80b83124297ad9fae116bdcd6171bebe99 (patch)
treee9dc9280c2d34b091e46aebea99d364272ecac8d
parent6b13cad380bc25ccbb6651f6ad65d1ba67a41641 (diff)
downloadFreeBSD-src-88b26e80b83124297ad9fae116bdcd6171bebe99.zip
FreeBSD-src-88b26e80b83124297ad9fae116bdcd6171bebe99.tar.gz
Wrap around MALLOC_DECLARE() invocation with #ifdef.
-rw-r--r--sys/sys/lockf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/lockf.h b/sys/sys/lockf.h
index cded00f..836c7a9 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
OpenPOWER on IntegriCloud