From 7da677b50d4e3da42d32c6ae6fd44933beca9e9e Mon Sep 17 00:00:00 2001 From: guzhihao4 Date: Fri, 24 Mar 2023 18:59:09 +0800 Subject: [PATCH] Add missing header file to enable llvm15 Add sys/type.h for mode_t to support llvm15 Issue: #I6ID6E Signed-off-by: guzhihao4 Change-Id: Ie1bbc6ff6dff76bf5dd7904240e06166424bfcd1 --- services/module_update/util/src/module_utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/module_update/util/src/module_utils.cpp b/services/module_update/util/src/module_utils.cpp index 1c0f8ec..7392860 100644 --- a/services/module_update/util/src/module_utils.cpp +++ b/services/module_update/util/src/module_utils.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include "directory_ex.h" #include "log/log.h" @@ -179,4 +180,4 @@ std::ostream &operator<<(std::ostream &os, const Timer &timer) return os; } } // namespace SysInstaller -} // namespace OHOS \ No newline at end of file +} // namespace OHOS -- Gitee