diff --git a/subsys/testsuite/include/tc_util.h b/subsys/testsuite/include/tc_util.h index beb0425b1b3..56896dc4d9f 100644 --- a/subsys/testsuite/include/tc_util.h +++ b/subsys/testsuite/include/tc_util.h @@ -16,7 +16,6 @@ #include #endif #include -#include #if defined CONFIG_ZTEST_TC_UTIL_USER_OVERRIDE #include @@ -175,6 +174,7 @@ static inline void test_time_ms(void) #endif #if defined(CONFIG_ARCH_POSIX) +#include #define TC_END_POST(result) do { \ LOG_PANIC(); \ posix_exit(result); \