From 20f89a4c1b7b01af4df9e873f735ede8a70fd3a5 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Tue, 16 Aug 2011 07:36:59 +0000 Subject: [Bug 3388350] mingw64 compiler warnings n mingw, sys/stat.h must be included before winsock2.h, so make sure of that --- ChangeLog | 9 +++++++++ generic/tclCmdAH.c | 1 + generic/tclFCmd.c | 1 + generic/tclFileName.c | 1 + generic/tclIOUtil.c | 1 + generic/tclTest.c | 1 + win/tclWinFile.c | 2 +- 7 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e1654f9..8640993 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-08-16 Jan Nijtmans + + * generic/tclCmdAH.c: [Bug 3388350] mingw64 compiler warnings + * generic/tclFCmd.c In mingw, sys/stat.h must be included + * generic/tclFileName.c before winsock2.h, so make sure of that. + * generic/tclIOUtil.c + * generic/tclTest.c + * win/tclWinFile.c + 2011-08-15 Don Porter * generic/tclBasic.c: [Bug 3390272] Leak of [info script] value. diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c index 5e231f6..c170b9b 100644 --- a/generic/tclCmdAH.c +++ b/generic/tclCmdAH.c @@ -12,6 +12,7 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ +#include #include "tclInt.h" #include "tclPort.h" #include diff --git a/generic/tclFCmd.c b/generic/tclFCmd.c index 5af8630..1f73cf3 100644 --- a/generic/tclFCmd.c +++ b/generic/tclFCmd.c @@ -10,6 +10,7 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ +#include #include "tclInt.h" #include "tclPort.h" diff --git a/generic/tclFileName.c b/generic/tclFileName.c index c8e5887..8d30905 100644 --- a/generic/tclFileName.c +++ b/generic/tclFileName.c @@ -11,6 +11,7 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ +#include #include "tclInt.h" #include "tclPort.h" #include "tclRegexp.h" diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c index 32658a8..94d3e22 100644 --- a/generic/tclIOUtil.c +++ b/generic/tclIOUtil.c @@ -18,6 +18,7 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ +#include #include "tclInt.h" #include "tclPort.h" #ifdef MAC_TCL diff --git a/generic/tclTest.c b/generic/tclTest.c index 9acbc5e..e870236 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -16,6 +16,7 @@ */ #define TCL_TEST +#include #include "tclInt.h" #include "tclPort.h" diff --git a/win/tclWinFile.c b/win/tclWinFile.c index 99dfc2f..316a827 100644 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -15,9 +15,9 @@ #ifndef _WIN64 # define _USE_32BIT_TIME_T #endif +#include #include "tclWinInt.h" #include -#include #include #include /* For TclpGetUserHome(). */ -- cgit v0.12