Commit 361b89b096a31a794006b5fe8f8616d6435be7f4
1 parent
67105325
Add support for Linux > 4.11
Based on: http://dpdk.org/dev/patchwork/patch/22036/
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 |