From da6a11d1d1875e4ff8d18b16cb31a42c364c9e4d Mon Sep 17 00:00:00 2001 From: David Garske Date: Mon, 1 Apr 2024 09:49:22 -0700 Subject: [PATCH] Restore `HAVE_NETDB_H` and `HAVE_SYS_IOCTL_H` checks in the wolfio.c. --- src/wolfio.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/wolfio.c b/src/wolfio.c index 041e0b77d..c7962f47f 100644 --- a/src/wolfio.c +++ b/src/wolfio.c @@ -78,11 +78,15 @@ #elif !defined(DEVKITPRO) && !defined(WOLFSSL_PICOTCP) \ && !defined(WOLFSSL_CONTIKI) && !defined(WOLFSSL_WICED) \ && !defined(WOLFSSL_GNRC) && !defined(WOLFSSL_RIOT_OS) - #include + #ifdef HAVE_NETDB_H + #include + #endif #ifdef __PPU #include #else - #include + #ifdef HAVE_SYS_IOCTL_H + #include + #endif #endif #endif #endif