X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/8f3ba4e8708cb72be19dacc2af4f601ee5fea292..fce9f472046344d15d4f4df281a003d837cf4177:/apt-pkg/vendorlist.h

diff --git a/apt-pkg/vendorlist.h b/apt-pkg/vendorlist.h
index 62ab78a33..a86ccde7c 100644
--- a/apt-pkg/vendorlist.h
+++ b/apt-pkg/vendorlist.h
@@ -15,9 +15,17 @@
 
 #include <string>
 #include <vector>
+#include <apt-pkg/macros.h>
+
+#ifndef APT_8_CLEANER_HEADERS
 #include <apt-pkg/vendor.h>
 #include <apt-pkg/configuration.h>
-#include <apt-pkg/macros.h>
+using std::string;
+using std::vector;
+#endif
+
+class Vendor;
+class Configuration;
 
 class __deprecated pkgVendorList
 {