From d69cfcab405a304d7aaf104df2e2e3c68bb22077 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 22 Apr 2010 09:55:07 -0700 Subject: [PATCH] Add top level SPL include path which is needed for *-devel builds --- config/kernel.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/config/kernel.m4 b/config/kernel.m4 index 952eb3f3e3..9906fc5a31 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -27,6 +27,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ dnl # compiler options are added by the kernel build system. KERNELCPPFLAGS="$KERNELCPPFLAGS -Werror -DHAVE_SPL -D_KERNEL" KERNELCPPFLAGS="$KERNELCPPFLAGS -DTEXT_DOMAIN=\\\"zfs-linux-kernel\\\"" + KERNELCPPFLAGS="$KERNELCPPFLAGS -I$SPL" KERNELCPPFLAGS="$KERNELCPPFLAGS -I$SPL/include" KERNELCPPFLAGS="$KERNELCPPFLAGS -include $SPL/spl_config.h" KERNELCPPFLAGS="$KERNELCPPFLAGS -include $TOPDIR/zfs_config.h"