From: Adam Dickmeiss Date: Wed, 30 Aug 2006 19:26:43 +0000 (+0000) Subject: Use getaddrinfo on Windows too X-Git-Tag: YAZ.2.1.28~11 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=0b3ab2336aeda693cbecbf78ff956103f4e6d0cc Use getaddrinfo on Windows too --- diff --git a/src/tcpip.c b/src/tcpip.c index 66dbd09..72faa78 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: tcpip.c,v 1.23 2006-08-30 18:58:59 adam Exp $ + * $Id: tcpip.c,v 1.24 2006-08-30 19:26:43 adam Exp $ */ /** * \file tcpip.c @@ -26,7 +26,9 @@ #endif #ifdef WIN32 -#include +#include +#include +#define HAVE_GETADDRINFO 1 #else #include #include