Skip to content

Commit b92085e

Browse files
committed
Fix unit build
1 parent 5a1f426 commit b92085e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

test/unit/test_lzma.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
/* Include LZMA implementation */
77
#define OTEZIP_ENABLE_LZMA
8-
#include "../../src/include/zstream.h"
9-
#include "../../src/lib/lzma.inc.c" /* This will include both encoder and decoder */
8+
#include "../../src/lib/lzma.inc.c"
109

1110
/* Simple test to compress and decompress data using LZMA */
1211
int test_lzma_compress_decompress() {
@@ -187,6 +186,9 @@ int test_lzma_large_data() {
187186
}
188187

189188
int main(int argc, char *argv[]) {
189+
(void)argc;
190+
(void)argv;
191+
190192
printf ("Running LZMA basic test...\n");
191193
int result1 = test_lzma_compress_decompress ();
192194

0 commit comments

Comments
 (0)