From: Ricardo M. Correia Date: Tue, 17 Aug 2010 17:09:54 +0000 (+0400) Subject: b=23267 Make lustre_idl.h include needed definitions from libcfs. X-Git-Tag: 2.0.51.0~44 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f1eaa63c32d7af5a09b1d9874b0310bad02b1a1f;p=fs%2Flustre-release.git 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. --- 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