1 --- a/include/dahdi/kernel.h
2 +++ b/include/dahdi/kernel.h
4 #include <linux/poll.h>
7 +#if LINUX_VERSION_CODE < KERNEL_VERSION(5,4,0)
8 #include <linux/pci-aspm.h>
12 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
13 #define HAVE_NET_DEVICE_OPS