Merge pull request #7774 from Laboratory-for-Safe-and-Secure-Systems/zephyr_v3_7

Zephyr V3.7 warning fix
This commit is contained in:
David Garske
2024-07-22 07:15:46 -07:00
committed by GitHub

View File

@ -147,8 +147,8 @@
#elif defined(WOLFSSL_ZEPHYR) #elif defined(WOLFSSL_ZEPHYR)
#include <version.h> #include <version.h>
#ifndef SINGLE_THREADED #ifndef SINGLE_THREADED
#ifndef CONFIG_PTHREAD_IPC #if !defined(CONFIG_PTHREAD_IPC) && !defined(CONFIG_POSIX_THREADS)
#error "Need CONFIG_PTHREAD_IPC for threading" #error "Threading needs CONFIG_PTHREAD_IPC / CONFIG_POSIX_THREADS"
#endif #endif
#if KERNEL_VERSION_NUMBER >= 0x30100 #if KERNEL_VERSION_NUMBER >= 0x30100
#include <zephyr/kernel.h> #include <zephyr/kernel.h>