From: Lasse Collin Date: Tue, 17 Oct 2023 18:53:11 +0000 (+0300) Subject: liblzma: Include common.h in crc_common.h. X-Git-Tag: v5.5.1alpha~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27735380491bb5ce0d0f41d5244d89c1d0825f6b;p=thirdparty%2Fxz.git liblzma: Include common.h in crc_common.h. crc_common.h depends on common.h. The headers include common.h except when there is a reason to not do so. --- diff --git a/src/liblzma/check/crc_clmul.c b/src/liblzma/check/crc_clmul.c index 6ebb1232..404adb82 100644 --- a/src/liblzma/check/crc_clmul.c +++ b/src/liblzma/check/crc_clmul.c @@ -28,7 +28,6 @@ // /////////////////////////////////////////////////////////////////////////////// -#include "common.h" #include "crc_common.h" #include diff --git a/src/liblzma/check/crc_common.h b/src/liblzma/check/crc_common.h index 37535f4b..0dd4faec 100644 --- a/src/liblzma/check/crc_common.h +++ b/src/liblzma/check/crc_common.h @@ -16,6 +16,9 @@ #ifndef LZMA_CRC_COMMON_H #define LZMA_CRC_COMMON_H +#include "common.h" + + #ifdef WORDS_BIGENDIAN # define A(x) ((x) >> 24) # define B(x) (((x) >> 16) & 0xFF)