From 108bf520e01755b3b20fcc7d17a39bcdf9a82721 Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Wed, 2 Mar 2022 10:55:08 -0500 Subject: [PATCH] Add a missing guard for time.h in net_sockets.c Signed-off-by: Andrzej Kurek --- library/net_sockets.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/net_sockets.c b/library/net_sockets.c index 17a9e4a57..d1700f3bb 100644 --- a/library/net_sockets.c +++ b/library/net_sockets.c @@ -107,7 +107,9 @@ static int wsa_init_done = 0; #include +#if defined(MBEDTLS_HAVE_TIME) #include +#endif #include