From 1686029f602992cf597ebdad45b5dc9f7280da01 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 16 Nov 2020 04:34:24 +0000 Subject: [PATCH] fcst: Port to Linux kernel v5.10 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9181 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_cmd.c | 5 +++++ fcst/ft_io.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/fcst/ft_cmd.c b/fcst/ft_cmd.c index e14e5346f..203ccea4e 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -14,10 +14,15 @@ * 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..134bfb1a8 100644 --- a/fcst/ft_io.c +++ b/fcst/ft_io.c @@ -19,10 +19,15 @@ * 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" /*