From 508ab620b78b136e861fce7a292882c140a8ec60 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 30 Aug 2006 12:47:23 +0000 Subject: [PATCH] Windows compile fix. --- src/tcpip.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 1.7.10.4