X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..d3e780ecdf69233c872d51216eedbc64a1b6db25:/src/zlib/minigzip.c diff --git a/src/zlib/minigzip.c b/src/zlib/minigzip.c index c05d0ea92f..9dbecc9b6e 100644 --- a/src/zlib/minigzip.c +++ b/src/zlib/minigzip.c @@ -1,5 +1,5 @@ /* minigzip.c -- simulate gzip using the zlib compression library - * Copyright (C) 1995-1998 Jean-loup Gailly. + * Copyright (C) 1995-2002 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ @@ -16,7 +16,7 @@ /* @(#) $Id$ */ #include -#include "zlib.h" +#include "../zlib/zlib.h" #ifdef STDC # include @@ -48,6 +48,9 @@ # define GZ_SUFFIX "-gz" # define fileno(file) file->__file #endif +#if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os +# include /* for fileno */ +#endif #ifndef WIN32 /* unlink already in stdio.h for WIN32 */ extern int unlink OF((const char *));