Whamcloud - gitweb
LU-2675 build: assume __linux__ and __KERNEL__
[fs/lustre-release.git] / lustre / include / linux / lustre_lite.h
index 37bcd2f..6978c24 100644 (file)
 #error Do not #include this file directly. #include <lustre_lite.h> instead
 #endif
 
-#ifdef __KERNEL__
-
 #include <linux/version.h>
-
 #include <asm/statfs.h>
-
 #include <linux/fs.h>
 #include <linux/dcache.h>
 #include <linux/proc_fs.h>
-
 #include <obd_class.h>
 #include <lustre_net.h>
 #include <lustre_ha.h>
-
 #include <linux/rbtree.h>
 #include <linux/lustre_compat25.h>
 #include <linux/lustre_common.h>
@@ -98,8 +92,4 @@ enum {
          LPROC_LL_FILE_OPCODES
 };
 
-#else
-#include <lustre/lustre_idl.h>
-#endif /* __KERNEL__ */
-
 #endif