From f0a14e54e64cdd138826a3afa03c858dbca6f97b Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Mon, 21 Apr 2025 10:31:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8core=5Fhook.c=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=AF=B9KPM=E7=9A=84=E6=9D=A1=E4=BB=B6=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/core_hook.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 70ff046c..e1db5d3f 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -48,6 +48,10 @@ #include "throne_tracker.h" #include "kernel_compat.h" +#ifdef CONFIG_KPM +#include "kpm/kpm.h" +#endif + #ifdef CONFIG_KSU_SUSFS bool susfs_is_allow_su(void) {