X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/8f3ba4e8708cb72be19dacc2af4f601ee5fea292..3b4d8136e78b9f2a70431ece4c850861d90e8bb1:/apt-pkg/algorithms.h diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index f299f8189..37eacf1f8 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -33,10 +33,16 @@ #include #include -#include #include +#ifndef APT_8_CLEANER_HEADERS +#include +using std::ostream; +#endif + +class pkgAcquireStatus; + class pkgSimulate : public pkgPackageManager /*{{{*/ { protected: @@ -90,7 +96,7 @@ class pkgProblemResolver /*{{{*/ enum Flags {Protected = (1 << 0), PreInstalled = (1 << 1), Upgradable = (1 << 2), ReInstateTried = (1 << 3), ToRemove = (1 << 4)}; - signed short *Scores; + int *Scores; unsigned char *Flags; bool Debug;