commit | 7b425dec44601e0a64f2d063fa88da766ec3ce6f | [log] [tgz] |
---|---|---|
author | Manish V Badarkhe <Manish.Badarkhe@arm.com> | Fri Jul 19 08:31:51 2024 +0100 |
committer | Manish V Badarkhe <Manish.Badarkhe@arm.com> | Thu Aug 29 17:31:25 2024 +0100 |
tree | 367b3fd5ca8f449b085819aa580d31366c764a4d | |
parent | 3e9fe1ba50ccc454fe0986701b4670fc5b9cd1b2 [diff] [blame] |
fix(tools): update the fiptool and certtool to fix POSIX build This patch fixes below issue raised: https://github.com/TrustedFirmware-A/trusted-firmware-a/issues/8 https://github.com/TrustedFirmware-A/trusted-firmware-a/issues/9 https://github.com/TrustedFirmware-A/trusted-firmware-a/issues/10 Change-Id: I521bf7410535ffe49198789ba183cc401b3b88a0 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
diff --git a/tools/fiptool/fiptool.c b/tools/fiptool/fiptool.c index 6c566ef..27119a1 100644 --- a/tools/fiptool/fiptool.c +++ b/tools/fiptool/fiptool.c
@@ -1,12 +1,13 @@ /* - * Copyright (c) 2016-2023, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2016-2024, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef _MSC_VER +#ifdef __linux__ #include <sys/mount.h> #endif + #include <sys/types.h> #include <sys/stat.h>