Only include <linux/version.h> if necessary (merge r3517 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3992 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-12-15 10:39:40 +00:00
parent b3c1abf165
commit bdbcebf0ec
4 changed files with 6 additions and 2 deletions
+2
View File
@@ -24,7 +24,9 @@
#define __SCST_H
#include <linux/types.h>
#ifndef INSIDE_KERNEL_TREE
#include <linux/version.h>
#endif
#include <linux/blkdev.h>
#include <linux/interrupt.h>
#include <linux/wait.h>