From da3c6f3fb7809fb51f2eec24c60ff04763f38e86 Mon Sep 17 00:00:00 2001 From: 18729395928 Date: Tue, 30 Aug 2022 16:39:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=8D=E5=BA=94=E8=AF=A5=E5=9C=A8=20exte?= =?UTF-8?q?rn=20"C"=20=E4=B8=AD=E5=8C=85=E5=90=AB=E5=A4=B4=E6=96=87?= =?UTF-8?q?=E4=BB=B6=20Signed-off-by=20stream966@163.com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -- Gitee From bb6c06affa861e6f2743fc1263907d385f7140e3 Mon Sep 17 00:00:00 2001 From: 18729395928 Date: Tue, 30 Aug 2022 17:13:11 +0800 Subject: [PATCH 2/2] Signed-off-by stream966@163.com Signed-off-by: 18729395928 --- frameworks/want_lite/include/want_utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frameworks/want_lite/include/want_utils.h b/frameworks/want_lite/include/want_utils.h index 127ccbf..d23fe76 100644 --- a/frameworks/want_lite/include/want_utils.h +++ b/frameworks/want_lite/include/want_utils.h @@ -24,18 +24,18 @@ typedef struct { uint8_t totalLen = 0; } Tlv; +#ifdef OHOS_APPEXECFWK_BMS_BUNDLEMANAGER +#include +#endif + #ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif // __cplusplus -#ifdef OHOS_APPEXECFWK_BMS_BUNDLEMANAGER -#include - bool SerializeWant(IpcIo *io, const Want *want); bool DeserializeWant(Want *want, IpcIo *io); -#endif #ifdef __cplusplus #if __cplusplus -- Gitee