From da39da34b517b5ca0259b3bd26ad97aa36d5d840 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 5 May 2018 01:38:47 -0700 Subject: [PATCH] scst: Unbreak the build on Debian systems --- scst/src/scst_dlm.c | 4 ++++ 1 file changed, 4 insertions(+) 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)