summaryrefslogtreecommitdiff
path: root/dosish.h
diff options
context:
space:
mode:
Diffstat (limited to 'dosish.h')
-rw-r--r--dosish.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dosish.h b/dosish.h
index 1860a0f066..3580693c90 100644
--- a/dosish.h
+++ b/dosish.h
@@ -70,7 +70,11 @@
* to include <sys/stat.h> and <sys/types.h> to get any typedef'ed
* information.
*/
-#define Stat_t struct _stati64
+#if defined(WIN32)
+# define Stat_t struct w32_stat
+#else
+# define Stat_t struct _stati64
+#endif
/* USE_STAT_RDEV:
* This symbol is defined if this system has a stat structure declaring