diff --git a/knetstat.c b/knetstat.c index eef10cc..8b1c93c 100644 --- a/knetstat.c +++ b/knetstat.c @@ -31,6 +31,10 @@ #include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) +#define PDE_DATA(i) pde_data(i) +#endif + #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,13,0) #define tcp_time_stamp tcp_time_stamp_raw() #endif