Include required headers that were missing.
Fix structure field name that has been embedded into an union.
Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Change-Id: If87d673ffbe9ccdd965c77161dfc69ed9e983fc3
Reviewed-on: http://review.whamcloud.com/20189
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
*/
#include <stdio.h>
+#include <errno.h>
+#include <string.h>
#include <unistd.h>
+#include <limits.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <lustre/lustre_idl.h>
CHECK_MEMBER(getinfo_fid2path, gf_recno);
CHECK_MEMBER(getinfo_fid2path, gf_linkno);
CHECK_MEMBER(getinfo_fid2path, gf_pathlen);
- CHECK_MEMBER(getinfo_fid2path, gf_path[0]);
+ CHECK_MEMBER(getinfo_fid2path, gf_u.gf_path[0]);
}
/* We don't control the definitions of posix_acl_xattr_{entry,header}