diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index a57c62425..d71a1b708 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -42,10 +42,12 @@ #include #include #include +#if defined(CONFIG_SCST_PROC) #if defined(CONFIG_SCST_DEBUG) || defined(CONFIG_SCST_TRACING) #include #include #endif +#endif #include "ib_srpt.h" #define LOG_PREFIX "ib_srpt" /* Prefix for SCST tracing macros. */ #include "scst_debug.h"