From b4746289926e0f0b08c455322d61ebfd7c30d3af Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 3 Jan 2021 00:40:12 +0000 Subject: [PATCH] scst_lib: Port to Linux kernel v5.10 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9313 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_lib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index e8329d841..0a23fcfe3 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -16,6 +16,7 @@ * GNU General Public License for more details. */ +#include #include /* struct kiocb for kernel v4.0 */ #include #include @@ -31,7 +32,9 @@ #include #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0) #include +#endif #include #include #ifndef INSIDE_KERNEL_TREE