]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
liblzma: Include common.h in crc_common.h.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 17 Oct 2023 18:53:11 +0000 (21:53 +0300)
committerJia Tan <jiat0218@gmail.com>
Wed, 18 Oct 2023 15:54:41 +0000 (23:54 +0800)
crc_common.h depends on common.h. The headers include common.h except
when there is a reason to not do so.

src/liblzma/check/crc_clmul.c
src/liblzma/check/crc_common.h

index 6ebb12328d6dd204ae20553011977415c1aca84d..404adb82ddc825389ab7426be80154221af9580e 100644 (file)
@@ -28,7 +28,6 @@
 //
 ///////////////////////////////////////////////////////////////////////////////
 
-#include "common.h"
 #include "crc_common.h"
 #include <immintrin.h>
 
index 37535f4be93a2c6f0fdf7ed4d31a23e8c2f9a400..0dd4faec04d212a521478253bfd0c8dd6d647f17 100644 (file)
@@ -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)