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:
parent
65053d65ad
commit
149e4a2dca
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user