Whamcloud - gitweb
b=21610 include fs.h for posix_acl.
authoryangsheng <Sheng.Yang@Sun.COM>
Thu, 24 Jun 2010 13:36:34 +0000 (21:36 +0800)
committerJohann Lombardi <johann@sun.com>
Thu, 24 Jun 2010 15:19:34 +0000 (17:19 +0200)
lustre/autoconf/lustre-core.m4

index 3689184..90eec61 100644 (file)
@@ -420,6 +420,7 @@ AC_DEFUN([LC_POSIX_ACL_XATTR_H],
 [LB_CHECK_FILE([$LINUX/include/linux/posix_acl_xattr.h],[
         AC_MSG_CHECKING([if linux/posix_acl_xattr.h can be compiled])
         LB_LINUX_TRY_COMPILE([
+                #include <linux/fs.h>
                 #include <linux/posix_acl_xattr.h>
         ],[],[
                 AC_MSG_RESULT([yes])