From 27be8caf52c5e17142a83ab813d24074a6e1fbee Mon Sep 17 00:00:00 2001 From: patthoyts Date: Fri, 22 Feb 2008 11:50:54 +0000 Subject: Add a linker hint for msvc to include ws2_32.lib --- win/tclWinSock.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/win/tclWinSock.c b/win/tclWinSock.c index af24fdf..ff94767 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -8,11 +8,15 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinSock.c,v 1.61 2007/12/13 15:28:44 dgp Exp $ + * RCS: @(#) $Id: tclWinSock.c,v 1.62 2008/02/22 11:50:54 patthoyts Exp $ */ #include "tclWinInt.h" +#ifdef _MSC_VER +# pragma comment (lib, "ws2_32") +#endif + /* * Support for control over sockets' KEEPALIVE and NODELAY behavior is * currently disabled. -- cgit v0.12