--- a/src/r8101_n.c +++ b/src/r8101_n.c @@ -69,6 +69,10 @@ This driver is modified from r8169.c in #include #endif +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,10) +#include +#endif + #include #include