diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h index 1c4b41a7bf75..5d67e7367ef5 100644 --- a/sys/i386/include/param.h +++ b/sys/i386/include/param.h @@ -98,7 +98,7 @@ #define PDRMASK (NBPDR-1) /* PREEMPTION exposes scheduler bugs that need to be fixed. */ -#ifdef _KERNEL +#if defined(_KERNEL) && !defined(KLD_MODULE) #include "opt_sched.h" #ifdef SCHED_4BSD #define PREEMPTION