aboutsummaryrefslogtreecommitdiffstats
path: root/sockets.c
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2009-04-24 15:28:40 -0700
committerNick Pelly <npelly@google.com>2009-04-24 15:43:53 -0700
commitf5be61d70b1f548e180ba11ab87c54c03704e819 (patch)
tree61916282f7ae07c928f2286303f865f4c8e64fce /sockets.c
parentfbcbf4201b9b56b72e9a06d292ae94360dd66b9e (diff)
downloadexternal_qemu-f5be61d70b1f548e180ba11ab87c54c03704e819.zip
external_qemu-f5be61d70b1f548e180ba11ab87c54c03704e819.tar.gz
external_qemu-f5be61d70b1f548e180ba11ab87c54c03704e819.tar.bz2
Fix build for platforms where deprecated symbol EAI_NODATA is not defined.
Diffstat (limited to 'sockets.c')
-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;