Skip to content

Commit

Permalink
Fix includes for multithread profile with zephyr
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Osterloh <[email protected]>
  • Loading branch information
rosterloh committed Jul 15, 2024
1 parent 83f129a commit 434c6c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/uxr/client/profile/multithread/multithread.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ struct uxrSession;
#include "FreeRTOS.h"
#include "semphr.h"
#elif defined(UCLIENT_PLATFORM_ZEPHYR)
#include <version.h>
#if ZEPHYR_VERSION_CODE >= ZEPHYR_VERSION(3, 1, 0)
#include <zephyr/kernel.h>
#else
#include <zephyr.h>
#endif
#elif defined(UCLIENT_PLATFORM_POSIX)
#include <pthread.h>
#endif // ifdef WIN32
Expand Down

0 comments on commit 434c6c1

Please sign in to comment.