revert 2184.1.2: do not pollute namespace in headers
[ntk/apt.git] / apt-pkg / metaindex.h
index 66c287c..0f95257 100644 (file)
@@ -4,10 +4,11 @@
 
 #include <string>
 #include <apt-pkg/pkgcache.h>
-#include <apt-pkg/srcrecords.h>
-#include <apt-pkg/pkgrecords.h>
 #include <apt-pkg/indexfile.h>
-#include <apt-pkg/vendor.h>
+
+#ifndef APT_8_CLEANER_HEADERS
+using std::string;
+#endif
 
 class pkgAcquire;
 class pkgCacheGenerator;