diff --git a/frameworks/native/hichecker.cpp b/frameworks/native/hichecker.cpp index e4aa7cd94efd7a4d209b964dcd412ba3691193a1..f08d082fdaf822c6c4442ffcea6547c5d71a4c52 100644 --- a/frameworks/native/hichecker.cpp +++ b/frameworks/native/hichecker.cpp @@ -20,7 +20,8 @@ #include #include "dfx_dump_catcher.h" -#include "hilog/log.h" +#include "hilog/log_c.h" +#include "hilog/log_cpp.h" namespace OHOS { namespace HiviewDFX { diff --git a/interfaces/js/kits/napi/src/napi_hichecker.cpp b/interfaces/js/kits/napi/src/napi_hichecker.cpp index 5edbce28f5a25eb7e0e9041655e2030bef2c2d3c..0a7aaee46f75b071f1221044b1262b0853626ac3 100644 --- a/interfaces/js/kits/napi/src/napi_hichecker.cpp +++ b/interfaces/js/kits/napi/src/napi_hichecker.cpp @@ -16,7 +16,8 @@ #include "napi_hichecker.h" #include "hichecker.h" -#include "hilog/log.h" +#include "hilog/log_c.h" +#include "hilog/log_cpp.h" namespace OHOS { namespace HiviewDFX { diff --git a/interfaces/native/innerkits/include/hichecker.h b/interfaces/native/innerkits/include/hichecker.h index e0f8ffa8a2e4e12f436de1e356f6d0c8092b6cef..9da6754ca11bf85f77503d5ed052c3ab2513b7c2 100644 --- a/interfaces/native/innerkits/include/hichecker.h +++ b/interfaces/native/innerkits/include/hichecker.h @@ -17,6 +17,7 @@ #define HIVIEWDFX_HICHECKER_H #include +#include #include "caution.h"