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
This commit is contained in:
Bart Van Assche
2010-09-09 09:23:36 +00:00
parent d84ec4d8ce
commit a86577a276
+2
View File
@@ -42,10 +42,12 @@
#include <linux/string.h>
#include <linux/delay.h>
#include <asm/atomic.h>
#if defined(CONFIG_SCST_PROC)
#if defined(CONFIG_SCST_DEBUG) || defined(CONFIG_SCST_TRACING)
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#endif
#endif
#include "ib_srpt.h"
#define LOG_PREFIX "ib_srpt" /* Prefix for SCST tracing macros. */
#include "scst_debug.h"