diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-12-13 01:22:38 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-12-13 01:22:38 +0100 |
commit | b9dadc24b9477b466bc8058c765d76c65ecc7125 (patch) | |
tree | b977b473cc50498d6a3a469f54f144daa79c27e2 /apt-pkg/cachefile.h | |
parent | a4f6bdc8bd91c7282ae9ac60c44844c6f0058a65 (diff) |
revert 2184.1.3: forward declaration instead of headers
The breakage is just to big for now, so guard the change with
#ifndef APT_8_CLEANER_HEADERS and be nice to library users
Diffstat (limited to 'apt-pkg/cachefile.h')
-rw-r--r-- | apt-pkg/cachefile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-pkg/cachefile.h b/apt-pkg/cachefile.h index b56e42855..802b12b61 100644 --- a/apt-pkg/cachefile.h +++ b/apt-pkg/cachefile.h @@ -20,6 +20,12 @@ #include <apt-pkg/depcache.h> #include <apt-pkg/macros.h> +#ifndef APT_8_CLEANER_HEADERS +#include <apt-pkg/acquire.h> +#include <apt-pkg/policy.h> +#include <apt-pkg/sourcelist.h> +#endif + class pkgPolicy; class pkgSourceList; class OpProgress; |