]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/tagfile.cc
handle packages without a mandatory architecture (debian-policy ยง5.3)
[apt.git] / apt-pkg / tagfile.cc
index 418e6bed81569d4e10e536d6d0bc0fd5c719587a..79811899a9f6987567cc9113a141eeadeac9cee1 100644 (file)
@@ -16,6 +16,7 @@
 #include <apt-pkg/tagfile.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/strutl.h>
+#include <apt-pkg/fileutl.h>
 
 #include <string>
 #include <stdio.h>
@@ -29,7 +30,10 @@ using std::string;
 class pkgTagFilePrivate
 {
 public:
-   pkgTagFilePrivate(FileFd *pFd, unsigned long long Size) : Fd(*pFd), Size(Size)
+   pkgTagFilePrivate(FileFd *pFd, unsigned long long Size) : Fd(*pFd), Buffer(NULL),
+                                                            Start(NULL), End(NULL),
+                                                            Done(false), iOffset(0),
+                                                            Size(Size)
    {
    }
    FileFd &Fd;