summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAlex James <theracermaster@gmail.com>2021-12-19 14:39:53 -0600
committerFelix Held <felix-coreboot@felixheld.de>2022-01-04 11:50:11 +0000
commit8a44eb9a5b2c6183e5e7477eea40e7e6c2b229fa (patch)
treec3a20557b54181b7f1fa108080687fc3367ad127 /util
parent0bbc3ccabb7b460aa437e30b5c0244c25430aeb8 (diff)
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 <theracermaster@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60228 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/flashmap/fmap.c1
1 files changed, 0 insertions, 1 deletions
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 <ctype.h>
-#include <endian.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>