Posted to tcl by venks at Sun Aug 31 19:51:52 GMT 2014view pretty
Maybe already included in head of tcl now? Fossil Head of everything Applying: ..../tcl/bld/kitcreator/tcl/patches/all/tcl-all-fix-stat64-bug2233954.diff patching file generic/tcl.h Hunk #1 FAILED at 437. 1 out of 1 hunk FAILED -- saving rejects to file generic/tcl.h.rej *************** *** 437,442 **** */ # ifndef TCL_LL_MODIFIER # ifdef HAVE_STRUCT_STAT64 typedef struct stat64 Tcl_StatBuf; # else typedef struct stat Tcl_StatBuf; --- 437,445 ---- */ # ifndef TCL_LL_MODIFIER # ifdef HAVE_STRUCT_STAT64 + # ifdef HAVE_SYS_STAT_H + # include <sys/stat.h> + # endif typedef struct stat64 Tcl_StatBuf; # else typedef struct stat Tcl_StatBuf; Looking at tcl.h - maybe it's already included now? 479 #elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__) 480 # ifdef HAVE_SYS_STAT_H 481 # include <sys/stat.h> 482 # endif 483 typedef struct stat64 Tcl_StatBuf;