summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-24 14:06:44 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-02-03 08:55:15 +0000
commita684d677fbf3bea50ebb9757f48b0f21a04dbcde (patch)
treed9adad238934b9cec08e87cc4909f4a3c7944859
parent49e114087951bbee97ee929328cbf5b94c0ed573 (diff)
soc/ti/am335x/header.c: Add missing include
Use of 'offsetof' needs <commonlib/bsd/helpers.h>. Change-Id: Ie250b20f464909649b2bd038dbb757d5df637486 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44738 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/ti/am335x/header.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/ti/am335x/header.c b/src/soc/ti/am335x/header.c
index c0a7589abd..66d7c2003e 100644
--- a/src/soc/ti/am335x/header.c
+++ b/src/soc/ti/am335x/header.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
+#include <commonlib/bsd/helpers.h>
#include <stdint.h>
#include <symbols.h>