summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 9e2097d..7828010 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinPort.h,v 1.22 2001/09/20 18:33:55 hobbs Exp $
+ * RCS: @(#) $Id: tclWinPort.h,v 1.23 2001/10/10 22:36:26 davygrvy Exp $
*/
#ifndef _TCLWINPORT
@@ -64,11 +64,12 @@
#endif
#include <time.h>
-#include <winsock2.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN
+#define WIN32 /* BUGFIX: winsock2.h seems to need this */
+#include <winsock2.h>
#ifdef BUILD_tcl
# undef TCL_STORAGE_CLASS