aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/spl-build.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index ea5078507..f4652bce1 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -540,9 +540,7 @@ dnl #
AC_DEFUN([SPL_LINUX_CONFIG],
[AC_MSG_CHECKING([whether Linux was built with CONFIG_$1])
SPL_LINUX_TRY_COMPILE([
- #ifndef AUTOCONF_INCLUDED
- #include <linux/config.h>
- #endif
+ #include <linux/module.h>
],[
#ifndef CONFIG_$1
#error CONFIG_$1 not #defined