Skip to content

Commit 8fcb007

Browse files
author
Andras Fekete
committed
Missing gating for netdb.h includes
1 parent 39002d8 commit 8fcb007

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/wolfio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#include <wolfssl/error-ssl.h>
4242
#include <wolfssl/wolfio.h>
4343

44+
#if defined(USE_WOLFSSL_IO) || defined(HAVE_HTTP_CLIENT)
4445
#ifndef USE_WINDOWS_API
4546
#if defined(WOLFSSL_LWIP) && !defined(WOLFSSL_APACHE_MYNEWT)
4647
#elif defined(ARDUINO)
@@ -87,6 +88,7 @@
8788
#endif
8889

8990
#endif /* USE_WINDOWS_API */
91+
#endif /* defined(USE_WOLFSSL_IO) || defined(HAVE_HTTP_CLIENT) */
9092

9193

9294
#if defined(HAVE_HTTP_CLIENT)

0 commit comments

Comments
 (0)