From a86577a27695fb3b74bf78707ae37107b0e8dc74 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 9 Sep 2010 09:23:36 +0000 Subject: [PATCH] Only include the procfs header files when necessary. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2070 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 2 ++ 1 file changed, 2 insertions(+) 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"