summaryrefslogtreecommitdiff
path: root/src/RdFToI.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/RdFToI.c')
-rw-r--r--src/RdFToI.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/RdFToI.c b/src/RdFToI.c
index 35fe78e..60db54a 100644
--- a/src/RdFToI.c
+++ b/src/RdFToI.c
@@ -44,6 +44,10 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/wait.h>
+#else
+#ifdef FOR_MSW
+#include <fcntl.h>
+#endif
#endif
LFUNC(OpenReadFile, int, (char *filename, xpmData *mdata));