From be5951461c23111b343348401defd1d05227a75e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 27 Sep 2023 08:22:37 -0600 Subject: command: Include a required header in command.h This uses ARRAY_SIZE() but does not include the header file which declares it. Fix this, so that command.h can be included without common.h Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek --- include/command.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/command.h') diff --git a/include/command.h b/include/command.h index ae7bb4a30b0..34ea989b39b 100644 --- a/include/command.h +++ b/include/command.h @@ -25,6 +25,10 @@ #endif #ifndef __ASSEMBLY__ + +/* For ARRAY_SIZE() */ +#include + /* * Monitor Command Table */ -- cgit v1.2.3