check _KERNEL_OPT instead of !_LKM to conditionalize opt includes
This commit is contained in:
parent
208b0b3a89
commit
d681cb1ea9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ufs_vnops.c,v 1.124 2005/01/23 19:37:05 rumble Exp $ */
|
||||
/* $NetBSD: ufs_vnops.c,v 1.125 2005/01/24 21:34:48 dbj Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1993, 1995
|
||||
|
@ -37,12 +37,12 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.124 2005/01/23 19:37:05 rumble Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.125 2005/01/24 21:34:48 dbj Exp $");
|
||||
|
||||
#ifndef _LKM
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_quota.h"
|
||||
#include "fs_lfs.h"
|
||||
#endif /* _LKM */
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
|
Loading…
Reference in New Issue