Merge remote-tracking branch 'dechamps/fsckwin' into 1.1

This commit is contained in:
Guus Sliepen 2015-04-12 15:35:37 +02:00
commit 11effab85b
3 changed files with 6 additions and 2 deletions

View file

@ -667,7 +667,7 @@ static bool add_listen_address(char *address, bool bindto) {
hint.ai_protocol = IPPROTO_TCP;
hint.ai_flags = AI_PASSIVE;
#ifdef HAVE_DECL_RES_INIT
#if HAVE_DECL_RES_INIT
res_init();
#endif
int err = getaddrinfo(address && *address ? address : NULL, port, &hint, &ai);