diff --git a/ports/windows/mpconfigport.h b/ports/windows/mpconfigport.h
index abad3528250453dc7eb32829fa7de6c425910d76..e41f2ebbe0af86660454be95d2eff62022c9bbe8 100644
--- a/ports/windows/mpconfigport.h
+++ b/ports/windows/mpconfigport.h
@@ -232,6 +232,7 @@ typedef __int64                     ssize_t;
 #define SSIZE_MAX                   _I32_MAX
 typedef int                         ssize_t;
 #endif
+typedef mp_off_t                    off_t;
 
 
 // Put static/global variables in sections with a known name