--- a/openvpn/src/nss_ovpnmgr_crypto.c +++ b/openvpn/src/nss_ovpnmgr_crypto.c @@ -28,7 +28,13 @@ #include #include #include +#include +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) #include +#else +#include +#include +#endif #include #include --- a/openvpn/src/nss_ovpnmgr_route.c +++ b/openvpn/src/nss_ovpnmgr_route.c @@ -34,7 +34,13 @@ #include #include #include +#include +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) #include +#else +#include +#include +#endif #include #include