Add HAVE_ZLIB ifdef to content.c

This commit is contained in:
twinaphex 2016-02-23 22:05:32 +01:00
parent c4b80e0e44
commit eb62d5f4a4

View File

@ -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:
{