summaryrefslogtreecommitdiff
path: root/apt-inst/deb
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-12-13 01:22:38 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-12-13 01:22:38 +0100
commitb9dadc24b9477b466bc8058c765d76c65ecc7125 (patch)
treeb977b473cc50498d6a3a469f54f144daa79c27e2 /apt-inst/deb
parenta4f6bdc8bd91c7282ae9ac60c44844c6f0058a65 (diff)
downloadapt-b9dadc24b9477b466bc8058c765d76c65ecc7125.tar.gz
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-inst/deb')
-rw-r--r--apt-inst/deb/debfile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-inst/deb/debfile.h b/apt-inst/deb/debfile.h
index 2c4734f9e..5e1ea1d2f 100644
--- a/apt-inst/deb/debfile.h
+++ b/apt-inst/deb/debfile.h
@@ -29,6 +29,10 @@
#include <apt-pkg/tagfile.h>
#include <apt-pkg/pkgcache.h>
+#ifndef APT_8_CLEANER_HEADERS
+#include <apt-pkg/database.h>
+#endif
+
class FileFd;
class pkgDataBase;