diff --git a/scst/src/scst_dlm.c b/scst/src/scst_dlm.c index 0eaa5ad60..3e001d045 100644 --- a/scst/src/scst_dlm.c +++ b/scst/src/scst_dlm.c @@ -30,6 +30,10 @@ #include "scst_pres.h" #include "scst_dlm.h" +#ifndef RHEL_RELEASE_VERSION +#define RHEL_RELEASE_VERSION(maj, min) 0 +#endif + #if (defined(CONFIG_DLM) || defined(CONFIG_DLM_MODULE)) && \ !defined(CONFIG_SCST_NO_DLM)