DEVEL15-linux-compile-test-24-20070209
authorJeffrey Hutzelman <jhutz@cmu.edu>
Fri, 9 Feb 2007 18:27:54 +0000 (18:27 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 9 Feb 2007 18:27:54 +0000 (18:27 +0000)
FIXES 53385

no linux/namei.h on 2.4

(cherry picked from commit a1d9a9209094864f784ecc90d41201480ffd66da)

src/cf/linux-test1.m4

index b55e9e7..758e002 100644 (file)
@@ -61,8 +61,7 @@ AC_DEFUN([LINUX_KERNEL_COMPILE_WORKS], [
   AC_MSG_CHECKING([for linux kernel module build works])
   AC_TRY_KBUILD(
 [#include <linux/sched.h>
-#include <linux/fs.h>
-#include <linux/namei.h>],
+#include <linux/fs.h>],
     [],:,AC_MSG_RESULT(no)
     AC_MSG_FAILURE([Fix problem or use --disable-kernel-module...]))
   AC_MSG_RESULT(yes)])