]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
add a small wrapper to call gdb in the framework setting
[apt.git] / apt-pkg / algorithms.h
index 948fe110312689e06d05130a5e1e849a388d5692..37eacf1f8d77b94b7fbcdb8ef8ecf1c53c73ba03 100644 (file)
 
 #include <iostream>
 
+#ifndef APT_8_CLEANER_HEADERS
+#include <apt-pkg/acquire.h>
+using std::ostream;
+#endif
+
 class pkgAcquireStatus;
 
 class pkgSimulate : public pkgPackageManager                           /*{{{*/
@@ -91,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;