diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-17 08:38:41 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-17 08:38:41 (GMT) |
commit | 4a5ef05df5be16afdfdbf1a38f32d72bb3654f7f (patch) | |
tree | 22b65965f9b38c6616be9189ca8a6b64dc72e478 /unix | |
parent | 445ffe85310c4a5853d313305b11a4323605c29c (diff) | |
parent | 6fe554cad0f2191435d30324f3e2b0caf121f891 (diff) | |
download | tcl-4a5ef05df5be16afdfdbf1a38f32d72bb3654f7f.zip tcl-4a5ef05df5be16afdfdbf1a38f32d72bb3654f7f.tar.gz tcl-4a5ef05df5be16afdfdbf1a38f32d72bb3654f7f.tar.bz2 |
revert [8abba84224], and make sure that every source file that uses Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixFCmd.c | 1 | ||||
-rw-r--r-- | unix/tclUnixFile.c | 1 | ||||
-rw-r--r-- | unix/tclUnixInit.c | 1 | ||||
-rw-r--r-- | unix/tclUnixPort.h | 4 |
4 files changed, 4 insertions, 3 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index 559992f..a703935 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -40,6 +40,7 @@ * DAMAGE. */ +#include <sys/stat.h> #include "tclInt.h" #include <utime.h> #include <grp.h> diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index 38504d9..f1fedc3 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -10,6 +10,7 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ +#include <sys/stat.h> #include "tclInt.h" #include "tclFileSystem.h" diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index f07b123..6653e4b 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -8,6 +8,7 @@ * All rights reserved. */ +#include <sys/stat.h> #include "tclInt.h" #include <stddef.h> #include <locale.h> diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 88cc87e..aa59258 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -126,9 +126,7 @@ typedef off_t Tcl_SeekOffset; #ifdef HAVE_SYS_SELECT_H # include <sys/select.h> #endif -#ifdef HAVE_SYS_STAT_H -# include <sys/stat.h> -#endif +#include <sys/stat.h> #if TIME_WITH_SYS_TIME # include <sys/time.h> # include <time.h> |