From be74ec1040559bbf05ad949e258529af5df4ea36 Mon Sep 17 00:00:00 2001 From: Mupceet Date: Tue, 9 Aug 2022 19:20:38 +0800 Subject: [PATCH] init: fix l0 build bugs Signed-off-by: Mupceet --- interfaces/innerkits/BUILD.gn | 1 + services/modules/init_hook/param_hook.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/innerkits/BUILD.gn b/interfaces/innerkits/BUILD.gn index 376e7d96..d40978d7 100755 --- a/interfaces/innerkits/BUILD.gn +++ b/interfaces/innerkits/BUILD.gn @@ -105,6 +105,7 @@ if (defined(ohos_lite)) { include_dirs = include_common deps = [ "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_static", + "//base/startup/init/services/modules/init_hook:inithook", "//third_party/bounds_checking_function:libsec_static", ] diff --git a/services/modules/init_hook/param_hook.c b/services/modules/init_hook/param_hook.c index 25b900ff..e4315e40 100755 --- a/services/modules/init_hook/param_hook.c +++ b/services/modules/init_hook/param_hook.c @@ -15,7 +15,6 @@ */ #include "init_hook.h" -#include "init_service.h" #include "init_utils.h" #include "plugin_adapter.h" #include "securec.h" -- GitLab