Whamcloud - gitweb
LU-113: make lustre_{idl,user}.h nice to userspace
[fs/lustre-release.git] / lustre / include / lustre / lustre_idl.h
index 54e915c..709204c 100644 (file)
@@ -91,7 +91,9 @@
 #ifndef _LUSTRE_IDL_H_
 #define _LUSTRE_IDL_H_
 
+#if !defined(LASSERT) && !defined(LPU64)
 #include <libcfs/libcfs.h> /* for LASSERT, LPUX64, etc */
+#endif
 
 /* Defn's shared with user-space. */
 #include <lustre/lustre_user.h>