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

Zephyr V3.7 warning fix
pull/7775/head
David Garske 2024-07-22 07:15:46 -07:00 committed by GitHub
commit 604a1fe2da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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