common/log_syslog.c: Add missing include of <env.h>
PATCH 1/1 common/log_syslog.c: Add missing include of <env.h>
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(+)
common/log_syslog.c +1 -0
@@ -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>
Signature · 1 line
2.43.0
Quoted 5 lines · Tom Rini
This file was making environment calls without including <
env.h> and so relying on an indirect inclusion from elsewhere. Add the missing include directly.
Applied to u-boot/master, thanks!
[1/1] common/log_syslog.c: Add missing include of <env.h>
commit: 3393f3ddac2abc4446dc1e5248997c490d08751b
Signature · 1 line
Tom