Merge pull request #7381 from dgarske/netdb_ioctl

Restore `HAVE_NETDB_H` and `HAVE_SYS_IOCTL_H` checks in the wolfio.c.
pull/7401/head
Daniel Pouzzner 2024-04-05 16:02:21 -04:00 committed by GitHub
commit d1efccd259
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -78,11 +78,15 @@
#elif !defined(DEVKITPRO) && !defined(WOLFSSL_PICOTCP) \
&& !defined(WOLFSSL_CONTIKI) && !defined(WOLFSSL_WICED) \
&& !defined(WOLFSSL_GNRC) && !defined(WOLFSSL_RIOT_OS)
#include <netdb.h>
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef __PPU
#include <netex/errno.h>
#else
#include <sys/ioctl.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
#endif
#endif
#endif