summarylogtreecommitdiffstats
path: root/trueport-patch-signal_pending-kernel-4-11.patch
blob: ecd868b51806a5089f5fb7ae6a0b9f1e4b67aa79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- ptyx/ptys.c.orig	2016-11-03 08:53:58.000000000 -0400
+++ ptyx/ptys.c	2017-07-03 23:18:20.533207642 -0400
@@ -24,10 +24,13 @@
 
 #include <linux/module.h>	/* For EXPORT_SYMBOL */
 
 #include <linux/errno.h>
 #include <linux/sched.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
+#include <linux/sched/signal.h>
+#endif
 #include <linux/interrupt.h>
 #include <linux/tty.h>
 #include <linux/tty_flip.h>
 #include <linux/fcntl.h>
 #include <linux/string.h>