aboutsummaryrefslogtreecommitdiff
path: root/libXpm/src/RdFToBuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXpm/src/RdFToBuf.c')
-rw-r--r--libXpm/src/RdFToBuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libXpm/src/RdFToBuf.c b/libXpm/src/RdFToBuf.c
index b719960af..bbd5dfb93 100644
--- a/libXpm/src/RdFToBuf.c
+++ b/libXpm/src/RdFToBuf.c
@@ -52,9 +52,9 @@
#endif
#if defined(FOR_MSW) || defined(WIN32)
#include <io.h>
+typedef long off_t;
#define stat _stat
#define fstat _fstat
-#define fdopen _fdopen
#define O_RDONLY _O_RDONLY
#endif