lantiq: fix lantiq applications kernel 4.14 compatiblity
[oweals/openwrt.git] / package / kernel / lantiq / ltq-vdsl / patches / 001-fix-compile.patch
1 --- a/src/include/drv_dsl_cpe_os_linux.h
2 +++ b/src/include/drv_dsl_cpe_os_linux.h
3 @@ -33,6 +33,9 @@
4  #endif
5  
6  #include <linux/sched.h>
7 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0))
8 +#include <linux/sched/signal.h>
9 +#endif
10  
11  #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
12     #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))