summaryrefslogtreecommitdiff
path: root/lib/fstream/uncompress/zstd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fstream/uncompress/zstd.c')
-rw-r--r--lib/fstream/uncompress/zstd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fstream/uncompress/zstd.c b/lib/fstream/uncompress/zstd.c
index 1838af5..fd22cbf 100644
--- a/lib/fstream/uncompress/zstd.c
+++ b/lib/fstream/uncompress/zstd.c
@@ -8,6 +8,7 @@
#include <zstd.h>
+#ifdef HAVE_ZSTD_STREAM
typedef struct {
istream_comp_t base;
@@ -77,3 +78,4 @@ istream_comp_t *istream_zstd_create(const char *filename)
base->cleanup = cleanup;
return base;
}
+#endif /* HAVE_ZSTD_STREAM */