From 3cdb7f45164bf2b1caf113038593e1d1887a5bdd Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 1 Nov 2018 02:01:16 +0000 Subject: [PATCH] fcst: Merge r7243 from trunk git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7526 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/fcst.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fcst/fcst.h b/fcst/fcst.h index d1846c6d8..2afd3c08a 100644 --- a/fcst/fcst.h +++ b/fcst/fcst.h @@ -19,9 +19,15 @@ #ifdef INSIDE_KERNEL_TREE #include +#define NEW_LIBFC_API #else #include #include "scst.h" +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0) || \ + defined(CONFIG_SUSE_KERNEL) && \ + LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0) +#define NEW_LIBFC_API +#endif #endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0) || \