summaryrefslogtreecommitdiff
path: root/dosish.h
diff options
context:
space:
mode:
Diffstat (limited to 'dosish.h')
-rw-r--r--dosish.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dosish.h b/dosish.h
index c9335971e4..045fef5b50 100644
--- a/dosish.h
+++ b/dosish.h
@@ -79,7 +79,11 @@
* to include <sys/stat.h> and <sys/types.h> to get any typedef'ed
* information.
*/
+#if defined(WIN64) || defined(USE_LARGE_FILES)
+#define Stat_t struct _stati64
+#else
#define Stat_t struct stat
+#endif
/* USE_STAT_RDEV:
* This symbol is defined if this system has a stat structure declaring