diff options
| author | Tom Rini <[email protected]> | 2025-09-25 14:50:26 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-08 16:12:36 -0600 |
| commit | f293019b6b9ca369190c620e0232227d950d2187 (patch) | |
| tree | e6ba9fe47db3cc5489b1b5a8f232e620eabb5f1a /test | |
| parent | 9b937cdaa3a701d106de73ef846d2edd5c818593 (diff) | |
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 <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/log/syslog_test.c | 1 | ||||
| -rw-r--r-- | test/log/syslog_test_ndebug.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/log/syslog_test.c b/test/log/syslog_test.c index 98b91436580..b6c0631aaf6 100644 --- a/test/log/syslog_test.c +++ b/test/log/syslog_test.c @@ -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> diff --git a/test/log/syslog_test_ndebug.c b/test/log/syslog_test_ndebug.c index dfd0217c1e4..a02d207ac0b 100644 --- a/test/log/syslog_test_ndebug.c +++ b/test/log/syslog_test_ndebug.c @@ -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> |
