From eb62d5f4a43a19c7c895b41d15aa250dcb69e189 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 23 Feb 2016 22:05:32 +0100 Subject: [PATCH] Add HAVE_ZLIB ifdef to content.c --- content.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content.c b/content.c index 87343148a8..10429a7a31 100644 --- a/content.c +++ b/content.c @@ -1745,8 +1745,10 @@ bool content_ctl(enum content_ctl_state state, void *data) temporary_content = NULL; break; case CONTENT_CTL_STREAM_INIT: +#ifdef HAVE_ZLIB if (!stream_backend) stream_backend = file_archive_get_default_file_backend(); +#endif break; case CONTENT_CTL_STREAM_CRC_CALCULATE: {