diff options
Diffstat (limited to 'minigzip.c')
-rw-r--r-- | minigzip.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 *)); |