diff options
author | pmcdona <invalid@example.com> | 2013-12-18 10:17:25 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2013-12-18 10:17:25 +0800 |
commit | 0a0a7ebc372af8f85c4aec21e2300b62f1b3ffa3 (patch) | |
tree | 223548387af6ef0faaa46a92addc5492566d2c46 /win32port | |
parent | 7a1327977ac10bdbace0012274b8ae889219880e (diff) | |
download | libwebsockets-0a0a7ebc372af8f85c4aec21e2300b62f1b3ffa3.tar.gz |
Trac 53 minw update
http://libwebsockets.org/trac/libwebsockets/ticket/53
Diffstat (limited to 'win32port')
-rw-r--r-- | win32port/zlib/gzio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32port/zlib/gzio.c b/win32port/zlib/gzio.c index 26f2da1e..a57352e1 100644 --- a/win32port/zlib/gzio.c +++ b/win32port/zlib/gzio.c @@ -10,6 +10,7 @@ #include <stdio.h>
#include "zutil.h"
+#include "gzguts.h"
#ifdef NO_DEFLATE /* for compatiblity with old definition */
# define NO_GZCOMPRESS
@@ -977,7 +978,7 @@ const char * ZEXPORT gzerror (file, errnum) *errnum = s->z_err;
if (*errnum == Z_OK) return (const char*)"";
- m = (char*)(*errnum == Z_ERRNO ? zstrerror(errno) : s->stream.msg);
+ m = (char*)(*errnum == Z_ERRNO ? zstrerror() : s->stream.msg);
if (m == NULL || *m == '\0') m = (char*)ERR_MSG(s->z_err);
|