diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 22b9b66..c5ce7d9 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -59,8 +59,12 @@ #include #ifdef CONFIG_PCI +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 1) +#include +#else #include #endif +#endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) #define HAVE_NET_DEVICE_OPS