diff --git a/scst/include/backport.h b/scst/include/backport.h index dff512a25..9696d83e4 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -23,7 +23,8 @@ #include #include #include /* struct request_queue */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 21, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 21, 0) || \ + (defined(RHEL_MAJOR) && RHEL_MAJOR -0 >= 8) #include #endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)