aboutsummaryrefslogtreecommitdiff
path: root/lib/fstream/compressor.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fstream/compressor.c')
-rw-r--r--lib/fstream/compressor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fstream/compressor.c b/lib/fstream/compressor.c
index 903a5f7..48f9567 100644
--- a/lib/fstream/compressor.c
+++ b/lib/fstream/compressor.c
@@ -51,7 +51,7 @@ bool fstream_compressor_exists(int id)
case FSTREAM_COMPRESSOR_XZ:
return true;
#endif
-#ifdef WITH_ZSTD
+#if defined(WITH_ZSTD) && defined(HAVE_ZSTD_STREAM)
case FSTREAM_COMPRESSOR_ZSTD:
return true;
#endif