73ba5e11f7
This is fixing multiple compile problems with kernel 4.14 and updates the code to take care of changes introduced between kernel 4.9 and 4.14. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Mathias Kresin <dev@kresin.me>
12 lines
336 B
Diff
12 lines
336 B
Diff
--- a/src/include/drv_dsl_cpe_os_linux.h
|
|
+++ b/src/include/drv_dsl_cpe_os_linux.h
|
|
@@ -33,6 +33,9 @@
|
|
#endif
|
|
|
|
#include <linux/sched.h>
|
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0))
|
|
+#include <linux/sched/signal.h>
|
|
+#endif
|
|
|
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
|
|
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
|