diff --git a/sys/sys/kpilite.h b/sys/sys/kpilite.h index 53817550a8f2..8742ef5cfbe8 100644 --- a/sys/sys/kpilite.h +++ b/sys/sys/kpilite.h @@ -29,7 +29,7 @@ #ifndef _SYS_KPILITE_H_ #define _SYS_KPILITE_H_ -#if !defined(GENOFFSET) && !defined(KLD_MODULE) && defined(_KERNEL) +#if !defined(GENOFFSET) && (!defined(KLD_MODULE) || defined(KLD_TIED)) && defined(_KERNEL) #include "offset.inc" static __inline void