summaryrefslogtreecommitdiff
path: root/minigzip.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:19:21 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:19:21 -0700
commitb8c9ecb0765fc39423c07613d909c5193378bdfd (patch)
treec2a2964d00dcfee6c7426ffcdf8e8060727bc2bf /minigzip.c
parent6759211ad8a5006689216a86c3267bb503bfccc1 (diff)
downloadzlib-b8c9ecb0765fc39423c07613d909c5193378bdfd.tar.gz
zlib 1.0.9v1.0.9
Diffstat (limited to 'minigzip.c')
-rw-r--r--minigzip.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/minigzip.c b/minigzip.c
index fb7f278..14d1277 100644
--- a/minigzip.c
+++ b/minigzip.c
@@ -44,13 +44,15 @@
# define fileno(file) file->__file
#endif
+#ifndef WIN32 /* unlink already in stdio.h for WIN32 */
+ extern int unlink OF((const char *));
+#endif
+
#ifndef GZ_SUFFIX
# define GZ_SUFFIX ".gz"
#endif
#define SUFFIX_LEN (sizeof(GZ_SUFFIX)-1)
-extern int unlink OF((const char *));
-
#define BUFLEN 4096
#define MAX_NAME_LEN 1024