]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/packagemanager.h
rename FORBID_NEW_INSTALL_PACKAGES to FORBID_INSTALL_NEW_PACKAGES
[apt.git] / apt-pkg / packagemanager.h
index 7ee17942c3e9a040e02136d56c1ec3b2f33e1594..1a6a9f01c7ad0bbfcb06484f2ce82d8d9b064627 100644 (file)
 #ifndef PKGLIB_PACKAGEMANAGER_H
 #define PKGLIB_PACKAGEMANAGER_H
 
+#include <apt-pkg/pkgcache.h>
 
 #include <string>
 #include <iostream>
-#include <apt-pkg/pkgcache.h>
-#include <apt-pkg/depcache.h>
 #include <set>
 
+#ifndef APT_8_CLEANER_HEADERS
+#include <apt-pkg/depcache.h>
+using std::string;
+#endif
+
 class pkgAcquire;
 class pkgDepCache;
 class pkgSourceList;