From 6f072ba77422ffea121021947c87dfc9499db94c Mon Sep 17 00:00:00 2001 From: Firas Sammoura Date: Fri, 27 Sep 2024 17:58:53 +0000 Subject: [PATCH] Ztest: Including the missing C standard library header The ztest.c calls atoi, which is provided by the C standard library. Remove the conditional inclusion of the C standard library with the definition of CONFIG_ZTEST_SHUFFLE. Signed-off-by: Firas Sammoura --- subsys/testsuite/ztest/src/ztest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/testsuite/ztest/src/ztest.c b/subsys/testsuite/ztest/src/ztest.c index dcf19d56dbd..d2a9fe8051d 100644 --- a/subsys/testsuite/ztest/src/ztest.c +++ b/subsys/testsuite/ztest/src/ztest.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ +#include #include #include @@ -27,7 +28,6 @@ static bool failed_expectation; #endif #ifdef CONFIG_ZTEST_SHUFFLE -#include #include #include #ifndef CONFIG_ZTEST_REPEAT