]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgrecords.cc
Download Release first, then Release.gpg
[apt.git] / apt-pkg / pkgrecords.cc
index 36dab3480d684cc87fef656ad46b15bd83bd04b4..859af3a0921a0bc58d1d663c3f0fbaaf5a2fa9a3 100644 (file)
 #include <apt-pkg/pkgrecords.h>
 #include <apt-pkg/indexfile.h>
 #include <apt-pkg/error.h>
-#include <apt-pkg/configuration.h>
+#include <apt-pkg/pkgcache.h>
+#include <apt-pkg/cacheiterators.h>
+
+#include <stddef.h>
+#include <vector>
 
 #include <apti18n.h>
                                                                        /*}}}*/
@@ -22,7 +26,7 @@
 // Records::pkgRecords - Constructor                                   /*{{{*/
 // ---------------------------------------------------------------------
 /* This will create the necessary structures to access the status files */
-pkgRecords::pkgRecords(pkgCache &Cache) : d(NULL), Cache(Cache),
+pkgRecords::pkgRecords(pkgCache &aCache) : d(NULL), Cache(aCache),
   Files(Cache.HeaderP->PackageFileCount)
 {
    for (pkgCache::PkgFileIterator I = Cache.FileBegin();