From 8a44eb9a5b2c6183e5e7477eea40e7e6c2b229fa Mon Sep 17 00:00:00 2001 From: Alex James Date: Sun, 19 Dec 2021 14:39:53 -0600 Subject: [PATCH] util/cbfstool: Remove redundant endian.h include flashmap/fmap.c includes commonlib/bsd/sysincludes.h, which already includes the necessary header for endian(3) functions (endian.h on Linux and sys/endian.h on FreeBSD). This also resolves a compilation error on macOS (tested on 10.5.7), as macOS does not provide endian.h. Change-Id: I0cb17eacd253605b75db8cf734e71ca3fe24ad6c Signed-off-by: Alex James Reviewed-on: https://review.coreboot.org/c/coreboot/+/60228 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Paul Menzel Reviewed-by: Julius Werner --- util/cbfstool/flashmap/fmap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/util/cbfstool/flashmap/fmap.c b/util/cbfstool/flashmap/fmap.c index cb67b46899..7010dbc367 100644 --- a/util/cbfstool/flashmap/fmap.c +++ b/util/cbfstool/flashmap/fmap.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0-only */ #include -#include #include #include #include