We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83f129a commit 434c6c1Copy full SHA for 434c6c1
include/uxr/client/profile/multithread/multithread.h
@@ -33,6 +33,12 @@ struct uxrSession;
33
#include "FreeRTOS.h"
34
#include "semphr.h"
35
#elif defined(UCLIENT_PLATFORM_ZEPHYR)
36
+#include <version.h>
37
+#if ZEPHYR_VERSION_CODE >= ZEPHYR_VERSION(3, 1, 0)
38
+#include <zephyr/kernel.h>
39
+#else
40
+#include <zephyr.h>
41
+#endif
42
#elif defined(UCLIENT_PLATFORM_POSIX)
43
#include <pthread.h>
44
#endif // ifdef WIN32
0 commit comments