diff --git a/wolfcrypt/src/random.c b/wolfcrypt/src/random.c index b0bd2ddce..f20b50737 100644 --- a/wolfcrypt/src/random.c +++ b/wolfcrypt/src/random.c @@ -3522,7 +3522,14 @@ int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz) #elif defined(WOLFSSL_ZEPHYR) + #include + + #if KERNEL_VERSION_NUMBER >= 0x30500 + #include + #else #include + #endif + #ifndef _POSIX_C_SOURCE #include #else