diff --git a/Source/7zip/LZMADecode.c b/Source/7zip/LZMADecode.c index 01829601..28507610 100644 --- a/Source/7zip/LZMADecode.c +++ b/Source/7zip/LZMADecode.c @@ -6,7 +6,8 @@ LZMA SDK 4.01 Copyright (c) 1999-2004 Igor Pavlov (2004-02-15) Converted to a state machine by Amir Szekely */ -#include "LzmaDecode.h" +#include +#include "LZMADecode.h" #define LEAVE { goto saveStateAndReturn; } #define NEED_BYTE(c) case c: if (!avail_in) { mode = c; LEAVE; } diff --git a/Source/7zip/LZMADecode.h b/Source/7zip/LZMADecode.h index 3033a347..78bdfb7e 100644 --- a/Source/7zip/LZMADecode.h +++ b/Source/7zip/LZMADecode.h @@ -85,7 +85,7 @@ typedef struct Byte *next_out; /* next output byte should be put there */ UInt32 avail_out; /* remaining free space at next_out */ - UInt32 totalOut; /* total output */ + UInt32 totalOut; /* total output - not always correct when lzmaDecode returns */ /* saved state */ Byte previousByte;