blob: f8ba2f615393f5007b90c1811b77933ed5ed50a0 [file] [log] [blame]
Andrew Geissler6ce62a22020-11-30 19:58:47 -06001From ffb6ebdb42590cb9f7d3f5177b7b820a9edc4c81 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Sun, 18 Oct 2020 23:40:42 +0200
4Subject: [PATCH] src/compress.c: correct header define for xz/lzma
5
6Upstream-Status: Submitted [https://github.com/file/file/pull/98]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 src/compress.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/compress.c b/src/compress.c
13index 67f21583..9670b72c 100644
14--- a/src/compress.c
15+++ b/src/compress.c
16@@ -71,7 +71,7 @@ typedef void (*sig_t)(int);
17 #include <bzlib.h>
18 #endif
19
20-#if defined(HAVE_XZLIB_H) && defined(XZLIBSUPPORT)
21+#if defined(HAVE_LZMA_H) && defined(XZLIBSUPPORT)
22 #define BUILTIN_XZLIB
23 #include <lzma.h>
24 #endif
25--
262.28.0
27