aboutsummaryrefslogtreecommitdiffstats
path: root/module/avl/avl.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/avl/avl.c')
-rw-r--r--module/avl/avl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/avl/avl.c b/module/avl/avl.c
index f024cdf61..736dcee84 100644
--- a/module/avl/avl.c
+++ b/module/avl/avl.c
@@ -992,7 +992,9 @@ done:
return (AVL_NODE2DATA(node, off));
}
-#if defined(_KERNEL) && defined(HAVE_SPL)
+#if defined(_KERNEL)
+#include <linux/module.h>
+
static int __init
avl_init(void)
{