--- a/dtls/v2.0/nss_dtlsmgr.c +++ b/dtls/v2.0/nss_dtlsmgr.c @@ -38,7 +38,13 @@ #include #include #include +#include +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) #include +#else +#include +#include +#endif #include #include --- a/dtls/v2.0/nss_dtlsmgr_ctx.c +++ b/dtls/v2.0/nss_dtlsmgr_ctx.c @@ -40,7 +40,13 @@ #include #include #include +#include +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) #include +#else +#include +#include +#endif #include #include --- a/dtls/v2.0/nss_dtlsmgr_ctx_dev.c +++ b/dtls/v2.0/nss_dtlsmgr_ctx_dev.c @@ -36,7 +36,13 @@ #include #include #include +#include +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) #include +#else +#include +#include +#endif #include #include