We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
HAVE_NETDB_H
HAVE_SYS_IOCTL_H
1 parent d930825 commit da6a11dCopy full SHA for da6a11d
1 file changed
src/wolfio.c
@@ -78,11 +78,15 @@
78
#elif !defined(DEVKITPRO) && !defined(WOLFSSL_PICOTCP) \
79
&& !defined(WOLFSSL_CONTIKI) && !defined(WOLFSSL_WICED) \
80
&& !defined(WOLFSSL_GNRC) && !defined(WOLFSSL_RIOT_OS)
81
- #include <netdb.h>
+ #ifdef HAVE_NETDB_H
82
+ #include <netdb.h>
83
+ #endif
84
#ifdef __PPU
85
#include <netex/errno.h>
86
#else
- #include <sys/ioctl.h>
87
+ #ifdef HAVE_SYS_IOCTL_H
88
+ #include <sys/ioctl.h>
89
90
#endif
91
92
0 commit comments