test: syslog: Add missing include of <env.h>

These files 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 <trini@konsulko.com>
This commit is contained in:
Tom Rini
2025-09-25 14:50:26 -06:00
parent 9b937cdaa3
commit f293019b6b
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
/* Override CONFIG_LOG_MAX_LEVEL */
#define LOG_DEBUG
#include <env.h>
#include <asm/global_data.h>
#include <dm/device.h>
#include <hexdump.h>

View File

@@ -7,6 +7,7 @@
* Invoke the test with: ./u-boot -d arch/sandbox/dts/test.dtb
*/
#include <env.h>
#include <asm/global_data.h>
#include <dm/device.h>
#include <hexdump.h>