diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2024-02-12 17:09:10 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2024-02-14 18:31:16 +0200 |
commit | 8e4ec794836bc1701d8c9bd5e347b8ce8cc5bbb4 (patch) | |
tree | 27b8fdc5cf0a02d8f0d4a8045709b4060178e1e6 /src/liblzma/rangecoder/range_common.h | |
parent | Add SPDX license identifiers to GPL, LGPL, and FSFULLR files. (diff) | |
download | xz-8e4ec794836bc1701d8c9bd5e347b8ce8cc5bbb4.tar.xz |
liblzma: Fix compilation of price_tablegen.c.
It is built and run only manually so this didn't matter
unless one wanted to regenerate the price_table.c.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/rangecoder/range_common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/liblzma/rangecoder/range_common.h b/src/liblzma/rangecoder/range_common.h index b72b7d46..bcfd966e 100644 --- a/src/liblzma/rangecoder/range_common.h +++ b/src/liblzma/rangecoder/range_common.h @@ -13,7 +13,10 @@ #ifndef LZMA_RANGE_COMMON_H #define LZMA_RANGE_COMMON_H -#include "common.h" +// Skip common.h if building price_tablegen.c. +#ifndef BUILDING_PRICE_TABLEGEN +# include "common.h" +#endif /////////////// |