mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Merge pull request #7381 from dgarske/netdb_ioctl
Restore `HAVE_NETDB_H` and `HAVE_SYS_IOCTL_H` checks in the wolfio.c.
This commit is contained in:
@@ -78,11 +78,15 @@
|
|||||||
#elif !defined(DEVKITPRO) && !defined(WOLFSSL_PICOTCP) \
|
#elif !defined(DEVKITPRO) && !defined(WOLFSSL_PICOTCP) \
|
||||||
&& !defined(WOLFSSL_CONTIKI) && !defined(WOLFSSL_WICED) \
|
&& !defined(WOLFSSL_CONTIKI) && !defined(WOLFSSL_WICED) \
|
||||||
&& !defined(WOLFSSL_GNRC) && !defined(WOLFSSL_RIOT_OS)
|
&& !defined(WOLFSSL_GNRC) && !defined(WOLFSSL_RIOT_OS)
|
||||||
#include <netdb.h>
|
#ifdef HAVE_NETDB_H
|
||||||
|
#include <netdb.h>
|
||||||
|
#endif
|
||||||
#ifdef __PPU
|
#ifdef __PPU
|
||||||
#include <netex/errno.h>
|
#include <netex/errno.h>
|
||||||
#else
|
#else
|
||||||
#include <sys/ioctl.h>
|
#ifdef HAVE_SYS_IOCTL_H
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user