add securec header

Signed-off-by: zhanghaibo <zhanghaibo0@huawei.com>
This commit is contained in:
zhanghaibo
2022-01-05 15:07:54 +08:00
parent 1dc49e5e80
commit 70003897bd
+2 -1
View File
@@ -43,6 +43,7 @@ static constexpr OHOS::HiviewDFX::HiLogLabel LOG_LABEL = { LOG_CORE, LOG_DOMAIN,
#else
#include <stdarg.h>
#include <stdio.h>
#include <securec.h>
constexpr uint32_t MAX_BUFFER_SIZE = 4096;
@@ -84,4 +85,4 @@ static void PrintLog(const char* fmt, ...)
#define HILOG_INFO(fmt, ...) HILOG_PRINT(Info, fmt, ##__VA_ARGS__)
#define HILOG_DEBUG(fmt, ...) HILOG_PRINT(Debug, fmt, ##__VA_ARGS__)
#endif /* FOUNDATION_ACE_NAPI_UTILS_LOG_H */
#endif /* FOUNDATION_ACE_NAPI_UTILS_LOG_H */