diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-02-16 23:09:59 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-02-16 23:09:59 (GMT) |
commit | 2aef3547ddbc2fd96568e1ea946537681a1c6a57 (patch) | |
tree | b48118a081b346ed56112578a34c8f800407cd94 /unix/tclUnixPort.h | |
parent | 56f2df801851e3fae331e26211e8f97bf11ecffd (diff) | |
download | tcl-2aef3547ddbc2fd96568e1ea946537681a1c6a57.zip tcl-2aef3547ddbc2fd96568e1ea946537681a1c6a57.tar.gz tcl-2aef3547ddbc2fd96568e1ea946537681a1c6a57.tar.bz2 |
[Bug 2233954] AIX: compile error
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 421d73c..e4008c9 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -85,7 +85,9 @@ typedef off_t Tcl_SeekOffset; #ifdef HAVE_SYS_SELECT_H # include <sys/select.h> #endif -#include <sys/stat.h> +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif #if TIME_WITH_SYS_TIME # include <sys/time.h> # include <time.h> |