Skip including lzma.h if not available (#2858)

This fixes compilation with -Duse_lzma=false
This commit is contained in:
Florian Märkl 2022-07-31 18:32:23 +02:00 committed by GitHub
parent f1b2e7bd75
commit f47ab1bc26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,10 @@
#include <rz_util.h>
#include <zlib.h>
#if HAVE_LZMA
#include <lzma.h>
#endif
// set a maximum output buffer of 50MB
#define MAXOUT 50000000