X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/74eb9ea2c4b00538e3358bb67bf19e74047d340d..592d06b6f3c2ef2ae47c38005ae3c4e96a0841f2:/apt-inst/contrib/extracttar.h?ds=sidebyside diff --git a/apt-inst/contrib/extracttar.h b/apt-inst/contrib/extracttar.h index 42f8ef534..4b29df314 100644 --- a/apt-inst/contrib/extracttar.h +++ b/apt-inst/contrib/extracttar.h @@ -15,11 +15,16 @@ #define PKGLIB_EXTRACTTAR_H #include -#include -#include +#include +#ifndef APT_8_CLEANER_HEADERS +#include +#include using std::min; +#endif + +class pkgDirStream; class ExtractTar { @@ -38,7 +43,7 @@ class ExtractTar int GZPid; FileFd InFd; bool Eof; - string DecompressProg; + std::string DecompressProg; // Fork and reap gzip bool StartGzip(); @@ -48,7 +53,7 @@ class ExtractTar bool Go(pkgDirStream &Stream); - ExtractTar(FileFd &Fd,unsigned long Max,string DecompressionProgram); + ExtractTar(FileFd &Fd,unsigned long Max,std::string DecompressionProgram); virtual ~ExtractTar(); };