diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-01-05 20:57:25 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-01-05 20:57:25 +0800 |
commit | 84f9687cbae972c2c342e10bf69f8ec8f70ae111 (patch) | |
tree | ef6ad2b9d1c399320bb25d676a7796514ff44bda /src/liblzma/common/index.c | |
parent | Adds test_index_hash to .gitignore. (diff) | |
download | xz-84f9687cbae972c2c342e10bf69f8ec8f70ae111.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/common/index.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/common/index.c b/src/liblzma/common/index.c index 24ec3c10..97cc9f95 100644 --- a/src/liblzma/common/index.c +++ b/src/liblzma/common/index.c @@ -10,6 +10,7 @@ // /////////////////////////////////////////////////////////////////////////////// +#include "common.h" #include "index.h" #include "stream_flags_common.h" |