X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/343325f4cc460b709fc929f85bc2a3d4691d63fe..1bae10217617c2f79969635d4387fb2a5fe19ecb:/apt-inst/dirstream.h?ds=sidebyside diff --git a/apt-inst/dirstream.h b/apt-inst/dirstream.h index 571fe86a5..dac965db7 100644 --- a/apt-inst/dirstream.h +++ b/apt-inst/dirstream.h @@ -25,6 +25,7 @@ #ifndef PKGLIB_DIRSTREAM_H #define PKGLIB_DIRSTREAM_H +#include <apt-pkg/macros.h> class pkgDirStream { @@ -37,10 +38,10 @@ class pkgDirStream Directory, FIFO} Type; char *Name; char *LinkTarget; - unsigned long long Size; unsigned long Mode; unsigned long UID; unsigned long GID; + unsigned long long Size; unsigned long MTime; unsigned long Major; unsigned long Minor; @@ -51,7 +52,6 @@ class pkgDirStream virtual bool FinishedFile(Item &Itm,int Fd); virtual bool Process(Item &/*Itm*/,const unsigned char * /*Data*/, unsigned long long /*Size*/,unsigned long long /*Pos*/) {return true;}; - virtual ~pkgDirStream() {}; };