From: 이형주/MDE Lab(SR)/삼성전자 Date: Wed, 19 Jul 2023 09:04:40 +0000 (+0900) Subject: Fix compile error for gcc13 (#471) X-Git-Tag: accepted/tizen/unified/20230720.164633~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22ad31b79ab531edfb2d5c207dfb213607426446;p=platform%2Fcore%2Fdotnet%2Flauncher.git Fix compile error for gcc13 (#471) * Fix compile error for gcc13 * Filetype to unix --- diff --git a/NativeLauncher/inc/ni_common.h b/NativeLauncher/inc/ni_common.h index 65b21f0..c4e6a8f 100644 --- a/NativeLauncher/inc/ni_common.h +++ b/NativeLauncher/inc/ni_common.h @@ -20,6 +20,7 @@ #include #include #include +#include #ifndef DWORD #define DWORD uint32_t diff --git a/NativeLauncher/inc/tac_installer.h b/NativeLauncher/inc/tac_installer.h index 7687704..7d9041d 100644 --- a/NativeLauncher/inc/tac_installer.h +++ b/NativeLauncher/inc/tac_installer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2022 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. @@ -14,11 +14,12 @@ * limitations under the License. */ -#ifndef __TAC_INSTALLER_H__ -#define __TAC_INSTALLER_H__ - -#include - +#ifndef __TAC_INSTALLER_H__ +#define __TAC_INSTALLER_H__ + +#include +#include + typedef enum { TAC_STATE_NONE = 0, TAC_STATE_INSTALL = 1, @@ -59,20 +60,20 @@ int tacUninstall(const std::string& pkgId, tac_state state); * @param[in] pkgId package ID * @return 0 if success, otherwise -1 */ -int tacClean(const std::string& pkgId); +int tacClean(const std::string& pkgId); /** * @brief Tac remove * @param[in] pkgId package ID * @return 0 if success, otherwise -1 */ -int tacRemoved(const std::string& pkgId); +int tacRemoved(const std::string& pkgId); /** * @brief Tac undo * @param[in] pkgId package ID * @return 0 if success, otherwise -1 */ -int tacUndo(const std::string& pkgId); +int tacUndo(const std::string& pkgId); -#endif /* __TAC_INSTALLER_H__ */ +#endif /* __TAC_INSTALLER_H__ */ diff --git a/NativeLauncher/installer-plugin/prefer_nuget_cache_plugin.cc b/NativeLauncher/installer-plugin/prefer_nuget_cache_plugin.cc index 02de1f4..9cdc9a8 100644 --- a/NativeLauncher/installer-plugin/prefer_nuget_cache_plugin.cc +++ b/NativeLauncher/installer-plugin/prefer_nuget_cache_plugin.cc @@ -17,6 +17,7 @@ #include "tac_installer.h" #include +#include #ifdef LOG_TAG #undef LOG_TAG