From 84f9687cbae972c2c342e10bf69f8ec8f70ae111 Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Thu, 5 Jan 2023 20:57:25 +0800 Subject: liblzma: Remove common.h include from common/index.h. common/index.h is needed by liblzma internally and tests. common.h will include and define many things that are not needed by the tests. Also, this prevents include order problems because common.h will redefine LZMA_API resulting in a warning. --- src/liblzma/common/index_decoder.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/liblzma/common/index_decoder.h') diff --git a/src/liblzma/common/index_decoder.h b/src/liblzma/common/index_decoder.h index 1af433b5..3fec4833 100644 --- a/src/liblzma/common/index_decoder.h +++ b/src/liblzma/common/index_decoder.h @@ -13,6 +13,7 @@ #ifndef LZMA_INDEX_DECODER_H #define LZMA_INDEX_DECODER_H +#include "common.h" #include "index.h" -- cgit v1.2.3