From 33a04939c0669ca970c18153c7dcca47b62957dc Mon Sep 17 00:00:00 2001 From: johann Date: Mon, 8 Sep 2008 21:35:34 +0000 Subject: [PATCH] Branch b1_6 b=16813 i=johann Workaround build issue on craynv (its asm/pgtable.h includes mm.h causing configure checks to fail) --- lustre/autoconf/lustre-core.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index ed39aa6..031d94e 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -1048,6 +1048,7 @@ LB_LINUX_TRY_COMPILE([ AC_DEFUN([LC_CANCEL_DIRTY_PAGE], [AC_MSG_CHECKING([kernel has cancel_dirty_page]) LB_LINUX_TRY_COMPILE([ + #include #include ],[ cancel_dirty_page(NULL, 0); @@ -1070,6 +1071,7 @@ LB_LINUX_TRY_COMPILE([ AC_DEFUN([LC_PAGE_CONSTANT], [AC_MSG_CHECKING([if kernel have PageConstant defined]) LB_LINUX_TRY_COMPILE([ + #include #include ],[ #ifndef PG_constant @@ -1088,6 +1090,7 @@ LB_LINUX_TRY_COMPILE([ AC_DEFUN([LC_PG_FS_MISC], [AC_MSG_CHECKING([kernel has PG_fs_misc]) LB_LINUX_TRY_COMPILE([ + #include #include ],[ #ifndef PG_fs_misc @@ -1106,6 +1109,7 @@ LB_LINUX_TRY_COMPILE([ AC_DEFUN([LC_PAGE_CHECKED], [AC_MSG_CHECKING([kernel has PageChecked and SetPageChecked]) LB_LINUX_TRY_COMPILE([ + #include #include ],[ #ifndef PageChecked -- 1.8.3.1