]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/metaindex.h
* apt-pkg/contrib/fileutl.cc:
[apt.git] / apt-pkg / metaindex.h
index 66c287c30fb711d2495ce83aff3fe45a0cd45fdb..5783735ff32e9925247c699438cdcc38ec423299 100644 (file)
@@ -4,10 +4,14 @@
 
 #include <string>
 #include <apt-pkg/pkgcache.h>
+#include <apt-pkg/indexfile.h>
+
+#ifndef APT_8_CLEANER_HEADERS
 #include <apt-pkg/srcrecords.h>
 #include <apt-pkg/pkgrecords.h>
-#include <apt-pkg/indexfile.h>
 #include <apt-pkg/vendor.h>
+using std::string;
+#endif
 
 class pkgAcquire;
 class pkgCacheGenerator;