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.
This commit is contained in:
Lasse Collin 2023-10-17 21:53:11 +03:00 committed by Jia Tan
parent e13b7947b9
commit 2773538049
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,6 @@
// //
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#include "common.h"
#include "crc_common.h" #include "crc_common.h"
#include <immintrin.h> #include <immintrin.h>

View File

@ -16,6 +16,9 @@
#ifndef LZMA_CRC_COMMON_H #ifndef LZMA_CRC_COMMON_H
#define LZMA_CRC_COMMON_H #define LZMA_CRC_COMMON_H
#include "common.h"
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
# define A(x) ((x) >> 24) # define A(x) ((x) >> 24)
# define B(x) (((x) >> 16) & 0xFF) # define B(x) (((x) >> 16) & 0xFF)