Commit 8290538d95fb04617ef7f81d5b840d15a91fc9a4
Committed by
GitHub
Merge pull request #10 from jschwartzenberg/master
Add support for Linux > 4.11
Showing
1 changed file
with
3 additions
and
0 deletions
module/tty0tty.c
| @@ -39,6 +39,9 @@ | @@ -39,6 +39,9 @@ | ||
| 39 | #include <linux/serial.h> | 39 | #include <linux/serial.h> |
| 40 | #include <linux/sched.h> | 40 | #include <linux/sched.h> |
| 41 | #include <linux/version.h> | 41 | #include <linux/version.h> |
| 42 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) | ||
| 43 | +#include <linux/sched/signal.h> | ||
| 44 | +#endif | ||
| 42 | #include <asm/uaccess.h> | 45 | #include <asm/uaccess.h> |
| 43 | 46 | ||
| 44 | 47 |