diff --git a/frameworks/want_lite/include/want_utils.h b/frameworks/want_lite/include/want_utils.h index 127ccbf2dcf11fb5447140647c07503ee3b6e75c..d23fe7616e8c093c81cbf4f4cc6d68e6c3c9260d 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