From cbb2df2018ab07cb8887715d30d445584e108366 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 7 Dec 2015 08:23:29 -0500 Subject: CONFIG_NEEDS_MANUAL_RELOC: Fix warnings when not set Now that we may compile (but not link) code calling fixup_cmdtable when this is not set, we need to always have the declaration available. We should also make sure that anyone calling the function includes as that's where the function declaration is. Signed-off-by: Tom Rini --- common/board_r.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common') diff --git a/common/board_r.c b/common/board_r.c index 5af32dd65b..75ee43e2d7 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -15,6 +15,7 @@ #if defined(CONFIG_CMD_BEDBUG) #include #endif +#include #include #ifdef CONFIG_HAS_DATAFLASH #include -- cgit v1.2.3