--- a/src/r8168_n.c 2023-10-20 17:46:41.593467802 +0200 +++ b/src/r8168_n.c 2023-10-20 17:47:59.460123974 +0200 @@ -82,6 +82,10 @@ #include #endif +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0) +#include +#endif + #include #include