]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexfile.cc
enable APT in unpack/configure ordering to handle loops as well
[apt.git] / apt-pkg / indexfile.cc
index 37be87055367d8eb02ba3135f0315976a4de1df3..68e9df4c8bf2142edfa2f2f9819bf3ada9a81dd3 100644 (file)
@@ -8,6 +8,8 @@
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
+#include<config.h>
+
 #include <apt-pkg/indexfile.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/aptconfiguration.h>
@@ -27,7 +29,8 @@ unsigned long pkgIndexFile::Type::GlobalListLen = 0;
 pkgIndexFile::Type::Type()
 {
    ItmList[GlobalListLen] = this;
-   GlobalListLen++;   
+   GlobalListLen++;
+   Label = NULL;
 }
                                                                        /*}}}*/
 // Type::GetType - Locate the type by name                             /*{{{*/