diff --git a/scst/include/scst.h b/scst/include/scst.h index 8663da631..cf1d7fda5 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -36,6 +36,9 @@ #include #elif defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5 #error The SCST sysfs interface is not supported on RHEL 5. Please run make enable_proc. +#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26) +#elif defined(RHEL_MAJOR) && RHEL_MAJOR -0 <= 5 +#error The SCST sysfs interface is supported from kernel version 2.6.26 on. Please run make enable_proc. #endif #include