summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
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 /win/tclWinFile.c
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
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c2
1 files changed, 1 insertions, 1 deletions
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(). */