From: Chris Kay Date: Thu, 13 Apr 2023 16:24:20 +0000 (+0100) Subject: fix(uuid): add missing `#include` directives X-Git-Tag: baikal/aarch64/sdk5.10~1^2~77^2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=12562af369e897c67aa45bfeb97cd7bb5d500cf6;p=arm-tf.git fix(uuid): add missing `#include` directives These include directives were missing from both `uuid.h` files. Change-Id: I875dfda3e0985728277b72f0e7597dde5cf9d304 Signed-off-by: Chris Kay --- diff --git a/changelog.yaml b/changelog.yaml index a514abd80..7dcb4dfda 100644 --- a/changelog.yaml +++ b/changelog.yaml @@ -1190,6 +1190,9 @@ subsections: deprecated: - plat/nxp/common/psci + - title: UUID + scope: uuid + - title: Documentation scope: docs @@ -1278,4 +1281,3 @@ subsections: - title: zlib scope: zlib - diff --git a/common/uuid.c b/common/uuid.c index 3e47eb4ba..969eda147 100644 --- a/common/uuid.c +++ b/common/uuid.c @@ -1,12 +1,11 @@ /* - * Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved. + * Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include #include -#include #include #include diff --git a/include/common/uuid.h b/include/common/uuid.h index c8dd68197..634880449 100644 --- a/include/common/uuid.h +++ b/include/common/uuid.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved. + * Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -7,6 +7,9 @@ #ifndef UUID_COMMON_H #define UUID_COMMON_H +#include +#include + #define UUID_BYTES_LENGTH 16 #define UUID_STRING_LENGTH 36 diff --git a/include/tools_share/uuid.h b/include/tools_share/uuid.h index 2ced3a3fa..3445f2026 100644 --- a/include/tools_share/uuid.h +++ b/include/tools_share/uuid.h @@ -27,13 +27,15 @@ */ /* - * Portions copyright (c) 2014-2020, ARM Limited and Contributors. + * Portions copyright (c) 2014-2023, Arm Limited and Contributors. * All rights reserved. */ #ifndef UUID_H #define UUID_H +#include + /* Length of a node address (an IEEE 802 address). */ #define _UUID_NODE_LEN 6