summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/net/zlib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/zlib.c b/sys/net/zlib.c
index 5f087a54b40..ece17a51870 100644
--- a/sys/net/zlib.c
+++ b/sys/net/zlib.c
@@ -4567,6 +4567,7 @@ z_stream *z;
char *zlib_version = ZLIB_VERSION;
+#ifndef NO_DEFLATE
char *z_errmsg[] = {
"stream end", /* Z_STREAM_END 1 */
"", /* Z_OK 0 */
@@ -4576,7 +4577,7 @@ char *z_errmsg[] = {
"insufficient memory", /* Z_MEM_ERROR (-4) */
"buffer error", /* Z_BUF_ERROR (-5) */
""};
-
+#endif /* NO_DEFLATE */
/*+++++*/
/* adler32.c -- compute the Adler-32 checksum of a data stream