From 516e1b07006eaca4257f5c1d69d15ca53fea3eca 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 5fbe1f764..8c765e1c8 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