diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-03-11 18:51:11 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-11-04 22:15:00 +0100 |
commit | 289acf3333cf76ffc689aff8a17340b299ce0686 (patch) | |
tree | bf90342b8fb10132cdc6f91fae020ef89c0e8954 | |
parent | 739a7ae0e9acb27227f5473a003833ea5a9c97ef (diff) | |
download | rockbox-289acf3333cf76ffc689aff8a17340b299ce0686.tar.gz rockbox-289acf3333cf76ffc689aff8a17340b299ce0686.zip |
Fix libmspack to compile with rbutil
The build system used by rbutil is not very robust: all the files
are eventually compiled to the same directory so we cannot have
two files with the same name (system.c would conflicts with
system.cpp) so rename one file to avoid this. Also change all
include directives to local ones because we don't have to expose
the entire mspack source to inclusion.
Change-Id: I3fe0638d69fdc30566eb9425abfe33c807678b28
Reviewed-on: http://gerrit.rockbox.org/417
Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
26 files changed, 55 insertions, 55 deletions
diff --git a/rbutil/rbutilqt/mspack/cab.h b/rbutil/rbutilqt/mspack/cab.h index 9f449d1f29..78ec8e60db 100644 --- a/rbutil/rbutilqt/mspack/cab.h +++ b/rbutil/rbutilqt/mspack/cab.h | |||
@@ -10,9 +10,9 @@ | |||
10 | #ifndef MSPACK_CAB_H | 10 | #ifndef MSPACK_CAB_H |
11 | #define MSPACK_CAB_H 1 | 11 | #define MSPACK_CAB_H 1 |
12 | 12 | ||
13 | #include <mszip.h> | 13 | #include "mszip.h" |
14 | #include <qtm.h> | 14 | #include "qtm.h" |
15 | #include <lzx.h> | 15 | #include "lzx.h" |
16 | 16 | ||
17 | /* generic CAB definitions */ | 17 | /* generic CAB definitions */ |
18 | 18 | ||
diff --git a/rbutil/rbutilqt/mspack/cabc.c b/rbutil/rbutilqt/mspack/cabc.c index 242e0347c3..eb85011056 100644 --- a/rbutil/rbutilqt/mspack/cabc.c +++ b/rbutil/rbutilqt/mspack/cabc.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | /* CAB compression implementation */ | 10 | /* CAB compression implementation */ |
11 | 11 | ||
12 | #include <system.h> | 12 | #include "system-mspack.h" |
13 | #include <cab.h> | 13 | #include "cab.h" |
14 | 14 | ||
15 | struct mscab_compressor * | 15 | struct mscab_compressor * |
16 | mspack_create_cab_compressor(struct mspack_system *sys) | 16 | mspack_create_cab_compressor(struct mspack_system *sys) |
diff --git a/rbutil/rbutilqt/mspack/cabd.c b/rbutil/rbutilqt/mspack/cabd.c index 24ff2031f3..cf91cfb3b4 100644 --- a/rbutil/rbutilqt/mspack/cabd.c +++ b/rbutil/rbutilqt/mspack/cabd.c | |||
@@ -21,8 +21,8 @@ | |||
21 | 21 | ||
22 | /* CAB decompression implementation */ | 22 | /* CAB decompression implementation */ |
23 | 23 | ||
24 | #include <system.h> | 24 | #include "system-mspack.h" |
25 | #include <cab.h> | 25 | #include "cab.h" |
26 | #include <assert.h> | 26 | #include <assert.h> |
27 | 27 | ||
28 | /* Notes on compliance with cabinet specification: | 28 | /* Notes on compliance with cabinet specification: |
diff --git a/rbutil/rbutilqt/mspack/chm.h b/rbutil/rbutilqt/mspack/chm.h index a85d2e1731..4b19f1505a 100644 --- a/rbutil/rbutilqt/mspack/chm.h +++ b/rbutil/rbutilqt/mspack/chm.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifndef MSPACK_CHM_H | 10 | #ifndef MSPACK_CHM_H |
11 | #define MSPACK_CHM_H 1 | 11 | #define MSPACK_CHM_H 1 |
12 | 12 | ||
13 | #include <lzx.h> | 13 | #include "lzx.h" |
14 | 14 | ||
15 | /* generic CHM definitions */ | 15 | /* generic CHM definitions */ |
16 | 16 | ||
diff --git a/rbutil/rbutilqt/mspack/chmc.c b/rbutil/rbutilqt/mspack/chmc.c index 72f6c5b389..b9a1d8856c 100644 --- a/rbutil/rbutilqt/mspack/chmc.c +++ b/rbutil/rbutilqt/mspack/chmc.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | /* CHM compression implementation */ | 10 | /* CHM compression implementation */ |
11 | 11 | ||
12 | #include <system.h> | 12 | #include "system-mspack.h" |
13 | #include <chm.h> | 13 | #include "chm.h" |
14 | 14 | ||
15 | struct mschm_compressor * | 15 | struct mschm_compressor * |
16 | mspack_create_chm_compressor(struct mspack_system *sys) | 16 | mspack_create_chm_compressor(struct mspack_system *sys) |
diff --git a/rbutil/rbutilqt/mspack/chmd.c b/rbutil/rbutilqt/mspack/chmd.c index 6e4a1bf24f..416156e742 100644 --- a/rbutil/rbutilqt/mspack/chmd.c +++ b/rbutil/rbutilqt/mspack/chmd.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | /* CHM decompression implementation */ | 10 | /* CHM decompression implementation */ |
11 | 11 | ||
12 | #include <system.h> | 12 | #include "system-mspack.h" |
13 | #include <chm.h> | 13 | #include "chm.h" |
14 | 14 | ||
15 | /* prototypes */ | 15 | /* prototypes */ |
16 | static struct mschmd_header * chmd_open( | 16 | static struct mschmd_header * chmd_open( |
diff --git a/rbutil/rbutilqt/mspack/hlp.h b/rbutil/rbutilqt/mspack/hlp.h index b7486fa160..a6e3abc7ff 100644 --- a/rbutil/rbutilqt/mspack/hlp.h +++ b/rbutil/rbutilqt/mspack/hlp.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifndef MSPACK_HLP_H | 10 | #ifndef MSPACK_HLP_H |
11 | #define MSPACK_HLP_H 1 | 11 | #define MSPACK_HLP_H 1 |
12 | 12 | ||
13 | #include <lzss.h> | 13 | #include "lzss.h" |
14 | 14 | ||
15 | /* generic HLP definitions */ | 15 | /* generic HLP definitions */ |
16 | 16 | ||
diff --git a/rbutil/rbutilqt/mspack/hlpc.c b/rbutil/rbutilqt/mspack/hlpc.c index 60eabfe207..b33e499f65 100644 --- a/rbutil/rbutilqt/mspack/hlpc.c +++ b/rbutil/rbutilqt/mspack/hlpc.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | /* HLP compression implementation */ | 10 | /* HLP compression implementation */ |
11 | 11 | ||
12 | #include <system.h> | 12 | #include "system-mspack.h" |
13 | #include <hlp.h> | 13 | #include "hlp.h" |
14 | 14 | ||
15 | struct mshlp_compressor * | 15 | struct mshlp_compressor * |
16 | mspack_create_hlp_compressor(struct mspack_system *sys) | 16 | mspack_create_hlp_compressor(struct mspack_system *sys) |
diff --git a/rbutil/rbutilqt/mspack/hlpd.c b/rbutil/rbutilqt/mspack/hlpd.c index 43354f008f..ae1f2efba8 100644 --- a/rbutil/rbutilqt/mspack/hlpd.c +++ b/rbutil/rbutilqt/mspack/hlpd.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | /* HLP decompression implementation */ | 10 | /* HLP decompression implementation */ |
11 | 11 | ||
12 | #include <system.h> | 12 | #include "system-mspack.h" |
13 | #include <hlp.h> | 13 | #include "hlp.h" |
14 | 14 | ||
15 | struct mshlp_decompressor * | 15 | struct mshlp_decompressor * |
16 | mspack_create_hlp_decompressor(struct mspack_system *sys) | 16 | mspack_create_hlp_decompressor(struct mspack_system *sys) |
diff --git a/rbutil/rbutilqt/mspack/kwaj.h b/rbutil/rbutilqt/mspack/kwaj.h index 09673c0779..75425d958a 100644 --- a/rbutil/rbutilqt/mspack/kwaj.h +++ b/rbutil/rbutilqt/mspack/kwaj.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifndef MSPACK_KWAJ_H | 10 | #ifndef MSPACK_KWAJ_H |
11 | #define MSPACK_KWAJ_H 1 | 11 | #define MSPACK_KWAJ_H 1 |
12 | 12 | ||
13 | #include <lzss.h> | 13 | #include "lzss.h" |
14 | 14 | ||
15 | /* generic KWAJ definitions */ | 15 | /* generic KWAJ definitions */ |
16 | #define kwajh_Signature1 (0x00) | 16 | #define kwajh_Signature1 (0x00) |
diff --git a/rbutil/rbutilqt/mspack/kwajc.c b/rbutil/rbutilqt/mspack/kwajc.c index b88ed7690a..52ca29432a 100644 --- a/rbutil/rbutilqt/mspack/kwajc.c +++ b/rbutil/rbutilqt/mspack/kwajc.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | /* KWAJ compression implementation */ | 10 | /* KWAJ compression implementation */ |
11 | 11 | ||
12 | #include <system.h> | 12 | #include "system-mspack.h" |
13 | #include <kwaj.h> | 13 | #include "kwaj.h" |
14 | 14 | ||
15 | struct mskwaj_compressor * | 15 | struct mskwaj_compressor * |
16 | mspack_create_kwaj_compressor(struct mspack_system *sys) | 16 | mspack_create_kwaj_compressor(struct mspack_system *sys) |
diff --git a/rbutil/rbutilqt/mspack/kwajd.c b/rbutil/rbutilqt/mspack/kwajd.c index d891b6a7e3..440f1dcfdd 100644 --- a/rbutil/rbutilqt/mspack/kwajd.c +++ b/rbutil/rbutilqt/mspack/kwajd.c | |||
@@ -12,8 +12,8 @@ | |||
12 | 12 | ||
13 | /* KWAJ decompression implementation */ | 13 | /* KWAJ decompression implementation */ |
14 | 14 | ||
15 | #include <system.h> | 15 | #include "system-mspack.h" |
16 | #include <kwaj.h> | 16 | #include "kwaj.h" |
17 | 17 | ||
18 | /* prototypes */ | 18 | /* prototypes */ |
19 | static struct mskwajd_header *kwajd_open( | 19 | static struct mskwajd_header *kwajd_open( |
@@ -361,7 +361,7 @@ static int kwajd_error(struct mskwaj_decompressor *base) | |||
361 | } \ | 361 | } \ |
362 | INJECT_BITS(*i_ptr++, 8); \ | 362 | INJECT_BITS(*i_ptr++, 8); \ |
363 | } while (0) | 363 | } while (0) |
364 | #include <readbits.h> | 364 | #include "readbits.h" |
365 | 365 | ||
366 | /* import huffman-reading macros and code */ | 366 | /* import huffman-reading macros and code */ |
367 | #define TABLEBITS(tbl) KWAJ_TABLEBITS | 367 | #define TABLEBITS(tbl) KWAJ_TABLEBITS |
@@ -369,7 +369,7 @@ static int kwajd_error(struct mskwaj_decompressor *base) | |||
369 | #define HUFF_TABLE(tbl,idx) lzh->tbl##_table[idx] | 369 | #define HUFF_TABLE(tbl,idx) lzh->tbl##_table[idx] |
370 | #define HUFF_LEN(tbl,idx) lzh->tbl##_len[idx] | 370 | #define HUFF_LEN(tbl,idx) lzh->tbl##_len[idx] |
371 | #define HUFF_ERROR return MSPACK_ERR_DATAFORMAT | 371 | #define HUFF_ERROR return MSPACK_ERR_DATAFORMAT |
372 | #include <readhuff.h> | 372 | #include "readhuff.h" |
373 | 373 | ||
374 | /* In the KWAJ LZH format, there is no special 'eof' marker, it just | 374 | /* In the KWAJ LZH format, there is no special 'eof' marker, it just |
375 | * ends. Depending on how many bits are left in the final byte when | 375 | * ends. Depending on how many bits are left in the final byte when |
diff --git a/rbutil/rbutilqt/mspack/lit.h b/rbutil/rbutilqt/mspack/lit.h index 79ba44d877..2ccc7dd7f3 100644 --- a/rbutil/rbutilqt/mspack/lit.h +++ b/rbutil/rbutilqt/mspack/lit.h | |||
@@ -10,9 +10,9 @@ | |||
10 | #ifndef MSPACK_LIT_H | 10 | #ifndef MSPACK_LIT_H |
11 | #define MSPACK_LIT_H 1 | 11 | #define MSPACK_LIT_H 1 |
12 | 12 | ||
13 | #include <lzx.h> | 13 | #include "lzx.h" |
14 | #include <des.h> | 14 | #include "des.h" |
15 | #include <sha.h> | 15 | #include "sha.h" |
16 | 16 | ||
17 | /* generic LIT definitions */ | 17 | /* generic LIT definitions */ |
18 | 18 | ||
diff --git a/rbutil/rbutilqt/mspack/litc.c b/rbutil/rbutilqt/mspack/litc.c index a8a709af07..4959a81d36 100644 --- a/rbutil/rbutilqt/mspack/litc.c +++ b/rbutil/rbutilqt/mspack/litc.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | /* LIT compression implementation */ | 10 | /* LIT compression implementation */ |
11 | 11 | ||
12 | #include <system.h> | 12 | #include "system-mspack.h" |
13 | #include <lit.h> | 13 | #include "lit.h" |
14 | 14 | ||
15 | struct mslit_compressor * | 15 | struct mslit_compressor * |
16 | mspack_create_lit_compressor(struct mspack_system *sys) | 16 | mspack_create_lit_compressor(struct mspack_system *sys) |
diff --git a/rbutil/rbutilqt/mspack/litd.c b/rbutil/rbutilqt/mspack/litd.c index 6e0dc9af27..93cbf1765a 100644 --- a/rbutil/rbutilqt/mspack/litd.c +++ b/rbutil/rbutilqt/mspack/litd.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | /* LIT decompression implementation */ | 10 | /* LIT decompression implementation */ |
11 | 11 | ||
12 | #include <system.h> | 12 | #include "system-mspack.h" |
13 | #include <lit.h> | 13 | #include "lit.h" |
14 | 14 | ||
15 | struct mslit_decompressor * | 15 | struct mslit_decompressor * |
16 | mspack_create_lit_decompressor(struct mspack_system *sys) | 16 | mspack_create_lit_decompressor(struct mspack_system *sys) |
diff --git a/rbutil/rbutilqt/mspack/lzssd.c b/rbutil/rbutilqt/mspack/lzssd.c index df294bc132..f1a47c7a01 100644 --- a/rbutil/rbutilqt/mspack/lzssd.c +++ b/rbutil/rbutilqt/mspack/lzssd.c | |||
@@ -11,8 +11,8 @@ | |||
11 | * For further details, see the file COPYING.LIB distributed with libmspack | 11 | * For further details, see the file COPYING.LIB distributed with libmspack |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <system.h> | 14 | #include "system-mspack.h" |
15 | #include <lzss.h> | 15 | #include "lzss.h" |
16 | 16 | ||
17 | #define ENSURE_BYTES do { \ | 17 | #define ENSURE_BYTES do { \ |
18 | if (i_ptr >= i_end) { \ | 18 | if (i_ptr >= i_end) { \ |
diff --git a/rbutil/rbutilqt/mspack/lzxc.c b/rbutil/rbutilqt/mspack/lzxc.c index 1207a0d747..89d8c610ea 100644 --- a/rbutil/rbutilqt/mspack/lzxc.c +++ b/rbutil/rbutilqt/mspack/lzxc.c | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | /* LZX compression implementation */ | 13 | /* LZX compression implementation */ |
14 | 14 | ||
15 | #include <system.h> | 15 | #include "system-mspack.h" |
16 | #include <lzx.h> | 16 | #include "lzx.h" |
17 | 17 | ||
18 | /* todo */ | 18 | /* todo */ |
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) \ |
diff --git a/rbutil/rbutilqt/mspack/mszipc.c b/rbutil/rbutilqt/mspack/mszipc.c index 2f1ecb2e87..2f14b9ac83 100644 --- a/rbutil/rbutilqt/mspack/mszipc.c +++ b/rbutil/rbutilqt/mspack/mszipc.c | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | /* MS-ZIP compression implementation */ | 13 | /* MS-ZIP compression implementation */ |
14 | 14 | ||
15 | #include <system.h> | 15 | #include "system-mspack.h" |
16 | #include <mszip.h> | 16 | #include "mszip.h" |
17 | 17 | ||
18 | /* todo */ | 18 | /* todo */ |
diff --git a/rbutil/rbutilqt/mspack/mszipd.c b/rbutil/rbutilqt/mspack/mszipd.c index 5b7ef4ff4d..3c158fbd4d 100644 --- a/rbutil/rbutilqt/mspack/mszipd.c +++ b/rbutil/rbutilqt/mspack/mszipd.c | |||
@@ -12,8 +12,8 @@ | |||
12 | 12 | ||
13 | /* MS-ZIP decompression implementation. */ | 13 | /* MS-ZIP decompression implementation. */ |
14 | 14 | ||
15 | #include <system.h> | 15 | #include "system-mspack.h" |
16 | #include <mszip.h> | 16 | #include "mszip.h" |
17 | 17 | ||
18 | /* import bit-reading macros and code */ | 18 | /* import bit-reading macros and code */ |
19 | #define BITS_TYPE struct mszipd_stream | 19 | #define BITS_TYPE struct mszipd_stream |
@@ -24,7 +24,7 @@ | |||
24 | READ_IF_NEEDED; \ | 24 | READ_IF_NEEDED; \ |
25 | INJECT_BITS(*i_ptr++, 8); \ | 25 | INJECT_BITS(*i_ptr++, 8); \ |
26 | } while (0) | 26 | } while (0) |
27 | #include <readbits.h> | 27 | #include "readbits.h" |
28 | 28 | ||
29 | /* import huffman macros and code */ | 29 | /* import huffman macros and code */ |
30 | #define TABLEBITS(tbl) MSZIP_##tbl##_TABLEBITS | 30 | #define TABLEBITS(tbl) MSZIP_##tbl##_TABLEBITS |
@@ -32,7 +32,7 @@ | |||
32 | #define HUFF_TABLE(tbl,idx) zip->tbl##_table[idx] | 32 | #define HUFF_TABLE(tbl,idx) zip->tbl##_table[idx] |
33 | #define HUFF_LEN(tbl,idx) zip->tbl##_len[idx] | 33 | #define HUFF_LEN(tbl,idx) zip->tbl##_len[idx] |
34 | #define HUFF_ERROR return INF_ERR_HUFFSYM | 34 | #define HUFF_ERROR return INF_ERR_HUFFSYM |
35 | #include <readhuff.h> | 35 | #include "readhuff.h" |
36 | 36 | ||
37 | #define FLUSH_IF_NEEDED do { \ | 37 | #define FLUSH_IF_NEEDED do { \ |
38 | if (zip->window_posn == MSZIP_FRAME_SIZE) { \ | 38 | if (zip->window_posn == MSZIP_FRAME_SIZE) { \ |
diff --git a/rbutil/rbutilqt/mspack/qtmd.c b/rbutil/rbutilqt/mspack/qtmd.c index 12b27f5608..0fb20da167 100644 --- a/rbutil/rbutilqt/mspack/qtmd.c +++ b/rbutil/rbutilqt/mspack/qtmd.c | |||
@@ -20,8 +20,8 @@ | |||
20 | * http://www.speakeasy.org/~russotto/quantumcomp.html | 20 | * http://www.speakeasy.org/~russotto/quantumcomp.html |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include <system.h> | 23 | #include "system-mspack.h" |
24 | #include <qtm.h> | 24 | #include "qtm.h" |
25 | 25 | ||
26 | /* import bit-reading macros and code */ | 26 | /* import bit-reading macros and code */ |
27 | #define BITS_TYPE struct qtmd_stream | 27 | #define BITS_TYPE struct qtmd_stream |
@@ -33,7 +33,7 @@ | |||
33 | READ_IF_NEEDED; b1 = *i_ptr++; \ | 33 | READ_IF_NEEDED; b1 = *i_ptr++; \ |
34 | INJECT_BITS((b0 << 8) | b1, 16); \ | 34 | INJECT_BITS((b0 << 8) | b1, 16); \ |
35 | } while (0) | 35 | } while (0) |
36 | #include <readbits.h> | 36 | #include "readbits.h" |
37 | 37 | ||
38 | /* Quantum static data tables: | 38 | /* Quantum static data tables: |
39 | * | 39 | * |
diff --git a/rbutil/rbutilqt/mspack/system.c b/rbutil/rbutilqt/mspack/system-mspack.c index f3f0019f5e..a7f4a5c218 100644 --- a/rbutil/rbutilqt/mspack/system.c +++ b/rbutil/rbutilqt/mspack/system-mspack.c | |||
@@ -11,7 +11,7 @@ | |||
11 | # include <config.h> | 11 | # include <config.h> |
12 | #endif | 12 | #endif |
13 | 13 | ||
14 | #include <system.h> | 14 | #include "system-mspack.h" |
15 | 15 | ||
16 | #ifndef LARGEFILE_SUPPORT | 16 | #ifndef LARGEFILE_SUPPORT |
17 | const char *largefile_msg = "library not compiled to support large files."; | 17 | const char *largefile_msg = "library not compiled to support large files."; |
diff --git a/rbutil/rbutilqt/mspack/system.h b/rbutil/rbutilqt/mspack/system-mspack.h index 4a400850aa..dd3c325ffa 100644 --- a/rbutil/rbutilqt/mspack/system.h +++ b/rbutil/rbutilqt/mspack/system-mspack.h | |||
@@ -19,7 +19,7 @@ extern "C" { | |||
19 | # include <config.h> | 19 | # include <config.h> |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | #include <mspack.h> | 22 | #include "mspack.h" |
23 | 23 | ||
24 | /* fix for problem with GCC 4 and glibc (thanks to Ville Skytta) | 24 | /* fix for problem with GCC 4 and glibc (thanks to Ville Skytta) |
25 | * http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=150429 | 25 | * http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=150429 |
diff --git a/rbutil/rbutilqt/mspack/szdd.h b/rbutil/rbutilqt/mspack/szdd.h index e07c6b7c8e..b9936b42d1 100644 --- a/rbutil/rbutilqt/mspack/szdd.h +++ b/rbutil/rbutilqt/mspack/szdd.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifndef MSPACK_SZDD_H | 10 | #ifndef MSPACK_SZDD_H |
11 | #define MSPACK_SZDD_H 1 | 11 | #define MSPACK_SZDD_H 1 |
12 | 12 | ||
13 | #include <lzss.h> | 13 | #include "lzss.h" |
14 | 14 | ||
15 | /* input buffer size during decompression - not worth parameterising IMHO */ | 15 | /* input buffer size during decompression - not worth parameterising IMHO */ |
16 | #define SZDD_INPUT_SIZE (2048) | 16 | #define SZDD_INPUT_SIZE (2048) |
diff --git a/rbutil/rbutilqt/mspack/szddc.c b/rbutil/rbutilqt/mspack/szddc.c index cdd39a6305..6ad6501217 100644 --- a/rbutil/rbutilqt/mspack/szddc.c +++ b/rbutil/rbutilqt/mspack/szddc.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | /* SZDD compression implementation */ | 10 | /* SZDD compression implementation */ |
11 | 11 | ||
12 | #include <system.h> | 12 | #include "system-mspack.h" |
13 | #include <szdd.h> | 13 | #include "szdd.h" |
14 | 14 | ||
15 | struct msszdd_compressor * | 15 | struct msszdd_compressor * |
16 | mspack_create_szdd_compressor(struct mspack_system *sys) | 16 | mspack_create_szdd_compressor(struct mspack_system *sys) |
diff --git a/rbutil/rbutilqt/mspack/szddd.c b/rbutil/rbutilqt/mspack/szddd.c index 99c5aa4658..af77f15565 100644 --- a/rbutil/rbutilqt/mspack/szddd.c +++ b/rbutil/rbutilqt/mspack/szddd.c | |||
@@ -13,8 +13,8 @@ | |||
13 | 13 | ||
14 | /* SZDD decompression implementation */ | 14 | /* SZDD decompression implementation */ |
15 | 15 | ||
16 | #include <system.h> | 16 | #include "system-mspack.h" |
17 | #include <szdd.h> | 17 | #include "szdd.h" |
18 | 18 | ||
19 | /* prototypes */ | 19 | /* prototypes */ |
20 | static struct msszddd_header *szddd_open( | 20 | static struct msszddd_header *szddd_open( |