aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sockets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sockets.c b/sockets.c
index fa1f39d..be40a56 100644
--- a/sockets.c
+++ b/sockets.c
@@ -634,7 +634,9 @@ sock_address_init_resolve( SockAddress* a, const char* hostname, uint16_t por
err = EHOSTDOWN;
break;
+#ifdef EAI_NODATA
case EAI_NODATA:
+#endif
case EAI_NONAME:
err = ENOENT;
break;