From f1eaa63c32d7af5a09b1d9874b0310bad02b1a1f Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Tue, 17 Aug 2010 21:09:54 +0400 Subject: [PATCH] b=23267 Make lustre_idl.h include needed definitions from libcfs. i=nathan.rutman i=mikhail.pershin It seems that lustre_idl.h uses symbols such as LASSERT, CLASSERT, LPUX64, etc, but it doesn't include libcfs.h. This was causing a compilation failure in b_hd_kdmu. The fix is to include libcfs.h. --- lustre/include/lustre/lustre_idl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index 6a2fd95..28cfc2d 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -91,6 +91,8 @@ #ifndef _LUSTRE_IDL_H_ #define _LUSTRE_IDL_H_ +#include /* for LASSERT, LPUX64, etc */ + /* Defn's shared with user-space. */ #include -- 1.8.3.1