summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c
index 8e06cff..191c039 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -22,6 +22,11 @@
extern "C" {
#endif
+#ifdef MS_WINDOWS
+/* for stat.st_mode */
+typedef unsigned short mode_t;
+#endif
+
extern time_t PyOS_GetLastModificationTime(char *, FILE *);
/* In getmtime.c */