diff --git a/sys/conf/options b/sys/conf/options index a7f12124d9c..6ddecb8f7f5 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -59,6 +59,7 @@ GDB KDB opt_global.h KDB_TRACE opt_kdb.h KDB_UNATTENDED opt_kdb.h +KLD_DEBUG opt_kld.h SYSCTL_DEBUG opt_sysctl.h # Miscellaneous options. diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c index 5c5bfbd005e..d7e5ade1ca5 100644 --- a/sys/kern/kern_linker.c +++ b/sys/kern/kern_linker.c @@ -28,6 +28,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ddb.h" +#include "opt_kld.h" #include "opt_hwpmc_hooks.h" #include