aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-04-24 15:54:30 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-04-24 15:54:30 -0700
commitcb9bc62afc2404df490efe6936e23944d5ec5965 (patch)
tree61916282f7ae07c928f2286303f865f4c8e64fce
parentf228aaca45b778d940b1b5b4e3956b002dac35b2 (diff)
parentf5be61d70b1f548e180ba11ab87c54c03704e819 (diff)
downloadexternal_qemu-cb9bc62afc2404df490efe6936e23944d5ec5965.zip
external_qemu-cb9bc62afc2404df490efe6936e23944d5ec5965.tar.gz
external_qemu-cb9bc62afc2404df490efe6936e23944d5ec5965.tar.bz2
Merge change 558 into donut
* changes: Fix build for platforms where deprecated symbol EAI_NODATA is not defined.
-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;