From 361b89b096a31a794006b5fe8f8616d6435be7f4 Mon Sep 17 00:00:00 2001 From: Julius Schwartzenberg Date: Mon, 5 Jun 2017 22:33:40 +0200 Subject: [PATCH] Add support for Linux > 4.11 Based on: http://dpdk.org/dev/patchwork/patch/22036/ --- module/tty0tty.c | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/module/tty0tty.c b/module/tty0tty.c index c858711..23cb37c 100644 --- a/module/tty0tty.c +++ b/module/tty0tty.c @@ -39,6 +39,9 @@ #include #include #include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) +#include +#endif #include -- libgit2 0.21.4