summaryrefslogtreecommitdiff
path: root/lib/comp/compressor.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/comp/compressor.c')
-rw-r--r--lib/comp/compressor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/comp/compressor.c b/lib/comp/compressor.c
index 3b473a3..369cbea 100644
--- a/lib/comp/compressor.c
+++ b/lib/comp/compressor.c
@@ -20,6 +20,9 @@ static compressor_fun_t compressors[SQFS_COMP_MAX + 1] = {
#ifdef WITH_LZ4
[SQFS_COMP_LZ4] = create_lz4_compressor,
#endif
+#ifdef WITH_ZSTD
+ [SQFS_COMP_ZSTD] = create_zstd_compressor,
+#endif
};
int generic_write_options(int fd, const void *data, size_t size)