From 1bdedaae3db088bbdea7875aacbf01d77604f09b Mon Sep 17 00:00:00 2001 From: johann Date: Mon, 8 Sep 2008 21:53:51 +0000 Subject: [PATCH] Branch b1_8_gate 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 984f53d..2cdebf6 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -1073,6 +1073,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); @@ -1095,6 +1096,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 @@ -1113,6 +1115,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 @@ -1131,6 +1134,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