summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 07:36:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 07:36:59 (GMT)
commit20f89a4c1b7b01af4df9e873f735ede8a70fd3a5 (patch)
treedb328e56b7455ebc0e3ba8b9a0a2cc1444b89459
parentdd4f0a017f8990efb674f40a83f23100b8b4adfa (diff)
downloadtcl-20f89a4c1b7b01af4df9e873f735ede8a70fd3a5.zip
tcl-20f89a4c1b7b01af4df9e873f735ede8a70fd3a5.tar.gz
tcl-20f89a4c1b7b01af4df9e873f735ede8a70fd3a5.tar.bz2
[Bug 3388350] mingw64 compiler warnings
n mingw, sys/stat.h must be included before winsock2.h, so make sure of that
-rw-r--r--ChangeLog9
-rw-r--r--generic/tclCmdAH.c1
-rw-r--r--generic/tclFCmd.c1
-rw-r--r--generic/tclFileName.c1
-rw-r--r--generic/tclIOUtil.c1
-rw-r--r--generic/tclTest.c1
-rw-r--r--win/tclWinFile.c2
7 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e1654f9..8640993 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-08-16 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * 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 <dgp@users.sourceforge.net>
* 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 <sys/stat.h>
#include "tclInt.h"
#include "tclPort.h"
#include <locale.h>
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 <sys/stat.h>
#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 <sys/stat.h>
#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 <sys/stat.h>
#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 <sys/stat.h>
#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 <sys/stat.h>
#include "tclWinInt.h"
#include <winioctl.h>
-#include <sys/stat.h>
#include <shlobj.h>
#include <lmaccess.h> /* For TclpGetUserHome(). */