summaryrefslogtreecommitdiff
path: root/minigzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'minigzip.c')
-rw-r--r--minigzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minigzip.c b/minigzip.c
index 167f745..6de35dd 100644
--- a/minigzip.c
+++ b/minigzip.c
@@ -31,7 +31,7 @@
31# include <sys/stat.h> 31# include <sys/stat.h>
32#endif 32#endif
33 33
34#if defined(MSDOS) || defined(OS2) || defined(WIN32) 34#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__)
35# include <fcntl.h> 35# include <fcntl.h>
36# include <io.h> 36# include <io.h>
37# define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 37# define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)