From 6b420cfb32438134a68b06c5772fca5d1c347f36 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 3 Jan 2021 02:46:48 +0000 Subject: [PATCH] fcst: Port to Linux kernel v5.10 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9314 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_cmd.c | 6 ++++++ fcst/ft_io.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/fcst/ft_cmd.c b/fcst/ft_cmd.c index e14e5346f..a5f2dec4b 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -14,10 +14,16 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ + +#include #include #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0) #include +#else +#include +#endif #include "fcst.h" /* diff --git a/fcst/ft_io.c b/fcst/ft_io.c index 1ab44f4e5..738fd7a11 100644 --- a/fcst/ft_io.c +++ b/fcst/ft_io.c @@ -19,10 +19,16 @@ * You should have received a copy of the GNU General Public License along with * this program. */ + +#include #include #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0) #include +#else +#include +#endif #include "fcst.h" /*