summarylogtreecommitdiffstats
path: root/sunix-patch-signal_pending-kernel-4-11.patch
blob: f2009806b3491c47a009a6b8e7216bdede952c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- driver/snx_common.h.orig	2017-07-03 20:34:17.129581538 -0400
+++ driver/snx_common.h	2017-07-03 20:34:17.129581538 -0400
@@ -40,7 +40,11 @@
 #endif
 
 #include <linux/errno.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
+#include <linux/sched/signal.h>
+#else
 #include <linux/signal.h>
+#endif
 #include <linux/tty.h>
 #include <linux/tty_flip.h>
 #include <linux/serial.h>