From 55d3deb030bf10198b675fe6ce2effe738f9c01b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Arg=C3=BCelles?= Date: Sun, 9 Feb 2025 12:25:48 +0700 Subject: [PATCH] tests: logging: log_backend_fs: add missing include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include explicitly `logging/log_backend.h` header so that non POSIX boards can build this test. For POSIX boards, this headers was indirectly included through `ztest.h`->`ztest_assert.h`->`tc_util.h`->`log_ctrl.h`. Fixes #85441 Signed-off-by: Manuel Argüelles --- tests/subsys/logging/log_backend_fs/src/log_fs_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/subsys/logging/log_backend_fs/src/log_fs_test.c b/tests/subsys/logging/log_backend_fs/src/log_fs_test.c index 15bbe58c8ab..fdb4362c0a4 100644 --- a/tests/subsys/logging/log_backend_fs/src/log_fs_test.c +++ b/tests/subsys/logging/log_backend_fs/src/log_fs_test.c @@ -16,6 +16,7 @@ #include #include #include +#include #define DT_DRV_COMPAT zephyr_fstab_littlefs #define TEST_AUTOMOUNT DT_PROP(DT_DRV_INST(0), automount)