From 58fe6226ce4831a2e1b015d82df496d1b6032440 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 10 Sep 2010 07:05:20 +0000 Subject: [PATCH] Only include the procfs headers when necessary. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2083 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_pres.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scst/src/scst_pres.c b/scst/src/scst_pres.c index 67b1f8820..014ba3baf 100644 --- a/scst/src/scst_pres.c +++ b/scst/src/scst_pres.c @@ -28,8 +28,10 @@ #include #include #include +#ifdef CONFIG_SCST_PROC #include #include +#endif #include #include #include