X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/a1e68c33ac15be454984b00d62c7fc331bd0b32b..350d30d24fee9a1aa5fedc7a30e7416999653417:/apt-inst/contrib/extracttar.h diff --git a/apt-inst/contrib/extracttar.h b/apt-inst/contrib/extracttar.h index 8754e8dcc..22bb69e66 100644 --- a/apt-inst/contrib/extracttar.h +++ b/apt-inst/contrib/extracttar.h @@ -15,9 +15,16 @@ #define PKGLIB_EXTRACTTAR_H #include +#include #include +#ifndef APT_8_CLEANER_HEADERS +#include +#include +using std::min; +#endif + class pkgDirStream; class ExtractTar @@ -33,7 +40,7 @@ class ExtractTar GNU_LongLink = 'K',GNU_LongName = 'L'}; FileFd &File; - unsigned long MaxInSize; + unsigned long long MaxInSize; int GZPid; FileFd InFd; bool Eof; @@ -46,8 +53,8 @@ class ExtractTar public: bool Go(pkgDirStream &Stream); - - ExtractTar(FileFd &Fd,unsigned long Max,std::string DecompressionProgram); + + ExtractTar(FileFd &Fd,unsigned long long Max,std::string DecompressionProgram); virtual ~ExtractTar(); };