diff --git a/interfaces/innerkits/BUILD.gn b/interfaces/innerkits/BUILD.gn index 376e7d9633437c927c407e19390b8505be1e2139..d40978d72cdef61462205593c2b36b6b5b8d8a0c 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 25b900ff83f644db63bbab0b374641e449e2641c..e4315e40b64de6089e6d2a9c8d89b4353aeb2b1e 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"