summaryrefslogtreecommitdiff
path: root/minigzip.c
diff options
context:
space:
mode:
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 @@
44# define fileno(file) file->__file 44# define fileno(file) file->__file
45#endif 45#endif
46 46
47#ifndef WIN32 /* unlink already in stdio.h for WIN32 */
48 extern int unlink OF((const char *));
49#endif
50
47#ifndef GZ_SUFFIX 51#ifndef GZ_SUFFIX
48# define GZ_SUFFIX ".gz" 52# define GZ_SUFFIX ".gz"
49#endif 53#endif
50#define SUFFIX_LEN (sizeof(GZ_SUFFIX)-1) 54#define SUFFIX_LEN (sizeof(GZ_SUFFIX)-1)
51 55
52extern int unlink OF((const char *));
53
54#define BUFLEN 4096 56#define BUFLEN 4096
55#define MAX_NAME_LEN 1024 57#define MAX_NAME_LEN 1024
56 58