summarylogtreecommitdiffstats
path: root/0000-kernel-4.11-signal_pending.patch
blob: 00163f2ca40a989205ce3186473e71654a7ecf8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -pNaru5 a/pparport26/pparport_pc.c b/pparport26/pparport_pc.c
--- a/pparport26/pparport_pc.c	2018-06-05 21:24:34.315840847 -0400
+++ b/pparport26/pparport_pc.c	2018-06-05 21:24:10.199248040 -0400
@@ -66,10 +66,13 @@
 #include <asm/dma.h>
 #include <asm/uaccess.h>
 
 #include <linux/parport.h>
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
+#include <linux/sched/signal.h>
+#endif
 
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0))
 #define __devinit
 #define __devinitdata
 #define __devexit