diff options
Diffstat (limited to 'module/Kbuild.in')
-rw-r--r-- | module/Kbuild.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/Kbuild.in b/module/Kbuild.in index 120ce87c5..031b5a9a8 100644 --- a/module/Kbuild.in +++ b/module/Kbuild.in @@ -22,6 +22,7 @@ ZFS_MODULE_CFLAGS += @KERNEL_DEBUG_CFLAGS@ @NO_FORMAT_ZERO_LENGTH@ ifneq ($(KBUILD_EXTMOD),) zfs_include = @abs_top_srcdir@/include ZFS_MODULE_CFLAGS += -include @abs_top_builddir@/zfs_config.h +ZFS_MODULE_CFLAGS += -I@abs_top_builddir@/include else zfs_include = $(srctree)/include/zfs ZFS_MODULE_CFLAGS += -include $(zfs_include)/zfs_config.h |