Skip to content

Commit 1df51bb

Browse files
committed
kernel: Fix MODULE_IMPORT_NS
1 parent 6ab3355 commit 1df51bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kernel/ksu.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ MODULE_LICENSE("GPL");
9595
MODULE_AUTHOR("weishu");
9696
MODULE_DESCRIPTION("Android KernelSU");
9797

98+
// Fix MODULE_IMPORT_NS error
99+
#include <linux/version.h>
98100
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0)
99101
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
100-
#endif
102+
#endif

0 commit comments

Comments
 (0)