summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/mspack/lzxd.c
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/mspack/lzxd.c')
-rw-r--r--rbutil/rbutilqt/mspack/lzxd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/mspack/lzxd.c b/rbutil/rbutilqt/mspack/lzxd.c
index cebc4c23d3..9b26bac3e0 100644
--- a/rbutil/rbutilqt/mspack/lzxd.c
+++ b/rbutil/rbutilqt/mspack/lzxd.c
@@ -12,8 +12,8 @@
12 12
13/* LZX decompression implementation */ 13/* LZX decompression implementation */
14 14
15#include <system.h> 15#include "system-mspack.h"
16#include <lzx.h> 16#include "lzx.h"
17 17
18/* Microsoft's LZX document (in cab-sdk.exe) and their implementation 18/* Microsoft's LZX document (in cab-sdk.exe) and their implementation
19 * of the com.ms.util.cab Java package do not concur. 19 * of the com.ms.util.cab Java package do not concur.
@@ -85,7 +85,7 @@
85 READ_IF_NEEDED; b1 = *i_ptr++; \ 85 READ_IF_NEEDED; b1 = *i_ptr++; \
86 INJECT_BITS((b1 << 8) | b0, 16); \ 86 INJECT_BITS((b1 << 8) | b0, 16); \
87} while (0) 87} while (0)
88#include <readbits.h> 88#include "readbits.h"
89 89
90/* import huffman-reading macros and code */ 90/* import huffman-reading macros and code */
91#define TABLEBITS(tbl) LZX_##tbl##_TABLEBITS 91#define TABLEBITS(tbl) LZX_##tbl##_TABLEBITS
@@ -93,7 +93,7 @@
93#define HUFF_TABLE(tbl,idx) lzx->tbl##_table[idx] 93#define HUFF_TABLE(tbl,idx) lzx->tbl##_table[idx]
94#define HUFF_LEN(tbl,idx) lzx->tbl##_len[idx] 94#define HUFF_LEN(tbl,idx) lzx->tbl##_len[idx]
95#define HUFF_ERROR return lzx->error = MSPACK_ERR_DECRUNCH 95#define HUFF_ERROR return lzx->error = MSPACK_ERR_DECRUNCH
96#include <readhuff.h> 96#include "readhuff.h"
97 97
98/* BUILD_TABLE(tbl) builds a huffman lookup table from code lengths */ 98/* BUILD_TABLE(tbl) builds a huffman lookup table from code lengths */
99#define BUILD_TABLE(tbl) \ 99#define BUILD_TABLE(tbl) \