Don't perform a nested include of opt_vmpage.h if LIBMEMSTAT is defined,

as opt_vmpage.h will not be available to user space library builds.  A
similar existing check is present for KLD_MODULE for similar reasons.

MFC after:	3 days
This commit is contained in:
rwatson 2005-08-04 10:05:11 +00:00
parent 65053d65ad
commit 149e4a2dca

View File

@ -67,7 +67,7 @@
#ifndef _VM_PAGE_
#define _VM_PAGE_
#if !defined(KLD_MODULE)
#if !defined(KLD_MODULE) && !defined(LIBMEMSTAT)
#include "opt_vmpage.h"
#endif