From: Adam Dickmeiss Date: Wed, 30 Aug 2006 12:47:23 +0000 (+0000) Subject: Windows compile fix. X-Git-Tag: YAZ.2.1.28~14 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=508ab620b78b136e861fce7a292882c140a8ec60;p=yaz-moved-to-github.git Windows compile fix. --- diff --git a/src/tcpip.c b/src/tcpip.c index 5168c77..f232601 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: tcpip.c,v 1.20 2006-08-30 12:04:43 adam Exp $ + * $Id: tcpip.c,v 1.21 2006-08-30 12:47:23 adam Exp $ */ /** * \file tcpip.c @@ -248,7 +248,11 @@ int tcpip_strtoaddr_ex(const char *str, struct sockaddr_in *add, #endif char *p, buf[512]; short int port = default_port; +#ifdef WIN32 + unsigned long tmpadd; +#else in_addr_t tmpadd; +#endif if (!tcpip_init ()) return 0;