From b05b09c9e8984af433611b2619563683b1a4848d Mon Sep 17 00:00:00 2001 From: Richard Osterloh Date: Tue, 2 Apr 2024 11:05:55 +0100 Subject: [PATCH] Fix includes for multithread profile with zephyr Signed-off-by: Richard Osterloh --- include/uxr/client/profile/multithread/multithread.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/uxr/client/profile/multithread/multithread.h b/include/uxr/client/profile/multithread/multithread.h index 189b4a7d..61f4efec 100644 --- a/include/uxr/client/profile/multithread/multithread.h +++ b/include/uxr/client/profile/multithread/multithread.h @@ -33,6 +33,12 @@ struct uxrSession; #include "FreeRTOS.h" #include "semphr.h" #elif defined(UCLIENT_PLATFORM_ZEPHYR) +#include +#if ZEPHYR_VERSION_CODE >= ZEPHYR_VERSION(3, 1, 0) +#include +#else +#include +#endif #elif defined(UCLIENT_PLATFORM_POSIX) #include #endif // ifdef WIN32