Skip to contentSkip to conversation

common/log_syslog.c: Add missing include of <env.h>

PATCH In review Tom Rini 1 participant 2 messages Jul 2, 2025 – Jul 10, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

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.

---
 common/log_syslog.c | 1 +
 1 file changed, 1 insertion(+)
common/log_syslog.c +1 -0
index 0dcb5f7cdeae..73bd3aca07e0 100644
@@ -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
author
#1 lore raw
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