From 4d8bbd70913db3aca506f10aa4683f31bbe921b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Frauenschl=C3=A4ger?= Date: Wed, 25 Oct 2023 15:11:46 +0200 Subject: [PATCH] Zephyr: fix POSIX time include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sys/time.h header causes redefinition errors regarding the fd_set type and the select call inside socket_select.h. We want to include the regular time.h header anyway, as done in random.c. Signed-off-by: Tobias Frauenschläger tmp --- wolfssl/wolfcrypt/wc_port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/wc_port.h b/wolfssl/wolfcrypt/wc_port.h index 3ae3e41a7..c337ae0de 100644 --- a/wolfssl/wolfcrypt/wc_port.h +++ b/wolfssl/wolfcrypt/wc_port.h @@ -982,7 +982,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void); #ifndef _POSIX_C_SOURCE #include #else - #include + #include #endif time_t z_time(time_t *timer);