summaryrefslogtreecommitdiff
path: root/minigzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'minigzip.c')
-rw-r--r--minigzip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/minigzip.c b/minigzip.c
index c05d0ea..7215eae 100644
--- a/minigzip.c
+++ b/minigzip.c
@@ -48,6 +48,9 @@
48# define GZ_SUFFIX "-gz" 48# define GZ_SUFFIX "-gz"
49# define fileno(file) file->__file 49# define fileno(file) file->__file
50#endif 50#endif
51#if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
52# include <unix.h> /* for fileno */
53#endif
51 54
52#ifndef WIN32 /* unlink already in stdio.h for WIN32 */ 55#ifndef WIN32 /* unlink already in stdio.h for WIN32 */
53 extern int unlink OF((const char *)); 56 extern int unlink OF((const char *));