Only use MALLOC_DECLARE if it exists. Helps with the dirty _KERNEL

tricks fstat is using.
This commit is contained in:
joerg 2012-02-03 04:29:17 +00:00
parent 782395a37e
commit 45883dbd84
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: msdosfsmount.h,v 1.15 2008/06/28 01:34:05 rumble Exp $ */
/* $NetBSD: msdosfsmount.h,v 1.16 2012/02/03 04:29:17 joerg Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@ -92,8 +92,10 @@ struct msdosfs_args {
#ifdef _KERNEL
#include <sys/mallocvar.h>
#ifdef MALLOC_DECLARE
MALLOC_DECLARE(M_MSDOSFSMNT);
MALLOC_DECLARE(M_MSDOSFSTMP);
#endif
/*
* Layout of the mount control block for a msdos file system.