*** build/generic/zvfs.c.orig	Wed Jan 18 16:04:25 2012
--- build/generic/zvfs.c	Wed Jan 18 16:05:18 2012
***************
*** 41,52 ****
  **                                              proper operation of glob command on ZVFS files
  **                                              under TCL 8.5.
  */
  #include "tcl.h"
  #include <ctype.h>
  #include <zlib.h>
  #include <errno.h>
  #include <string.h>
- #include <sys/stat.h>
  #include <time.h>
  #include <stdlib.h>
  #include <malloc.h>
--- 41,56 ----
  **                                              proper operation of glob command on ZVFS files
  **                                              under TCL 8.5.
  */
+ #define _USE_32BIT_TIME_T
+ #include <sys/stat.h>
+ #ifndef _stat32i64
+ #   define _stat32i64 _stati64
+ #endif
  #include "tcl.h"
  #include <ctype.h>
  #include <zlib.h>
  #include <errno.h>
  #include <string.h>
  #include <time.h>
  #include <stdlib.h>
  #include <malloc.h>
