diff --git a/sys/i386/include/endian.h b/sys/i386/include/endian.h index 1787c0f94636..723fda78b3b1 100644 --- a/sys/i386/include/endian.h +++ b/sys/i386/include/endian.h @@ -55,6 +55,10 @@ #ifndef KERNEL #include +#else +#ifndef ACTUALLY_LKM_NOT_KERNEL +#include "opt_cpu.h" +#endif #endif #define __word_swap_long(x) \