diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index 0d1ffc4db039..2a30f3a10056 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -67,10 +67,6 @@ #ifndef _VM_PAGE_ #define _VM_PAGE_ -#if !defined(KLD_MODULE) && !defined(LIBMEMSTAT) -#include "opt_vmpage.h" -#endif - #include /* diff --git a/sys/vm/vm_pageq.c b/sys/vm/vm_pageq.c index ed9c86e2cdbf..dfc472d641c6 100644 --- a/sys/vm/vm_pageq.c +++ b/sys/vm/vm_pageq.c @@ -28,6 +28,8 @@ #include __FBSDID("$FreeBSD$"); +#include "opt_vmpage.h" + #include #include #include