This file was making environment calls without including <env.h> and so relying on an indirect inclusion from elsewhere. Add the missing include directly.
Signed-off-by: Tom Rini <[email protected]> --- common/log_syslog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/log_syslog.c b/common/log_syslog.c index 0dcb5f7cdeae..73bd3aca07e0 100644 --- a/common/log_syslog.c +++ b/common/log_syslog.c @@ -5,6 +5,7 @@ * Copyright (c) 2020, Heinrich Schuchardt <[email protected]> */ +#include <env.h> #include <log.h> #include <net.h> #include <asm/global_data.h> -- 2.43.0

