diff --git a/src/comp.c b/src/comp.c index f5f82ab..da2f9f6 100644 --- a/src/comp.c +++ b/src/comp.c @@ -331,10 +331,10 @@ static const LIBSSH2_COMP_METHOD comp_method_zlib = { *********************** */ static const LIBSSH2_COMP_METHOD *comp_methods[] = { - &comp_method_none, #ifdef LIBSSH2_HAVE_ZLIB &comp_method_zlib, #endif /* LIBSSH2_HAVE_ZLIB */ + &comp_method_none, NULL };