diff --git a/kernel-module/xt_RTPENGINE.c b/kernel-module/xt_RTPENGINE.c index 4be66ce7c..53b042d6f 100644 --- a/kernel-module/xt_RTPENGINE.c +++ b/kernel-module/xt_RTPENGINE.c @@ -8,6 +8,9 @@ #include #include #include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,12,0) +#include +#endif #include #include #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) @@ -39,6 +42,9 @@ #include "rtpengine_config.h" MODULE_LICENSE("GPL"); +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,12,0) +MODULE_IMPORT_NS(CRYPTO_INTERNAL); +#endif