]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-dump-solver.cc
fix progress-segfault in case of dpkg errors/prompts
[apt.git] / cmdline / apt-dump-solver.cc
index dab0cc6fd63a0059f6eb3f72c0ce08bcc2464cf5..aa16b127149f74fe2114e720aa23d3520498c9ea 100644 (file)
@@ -12,6 +12,7 @@
 #include <config.h>
 
 #include <cstdio>
 #include <config.h>
 
 #include <cstdio>
+#include <iostream>
                                                                        /*}}}*/
 
 // ShowHelp - Show a help screen                                       /*{{{*/
                                                                        /*}}}*/
 
 // ShowHelp - Show a help screen                                       /*{{{*/
@@ -20,7 +21,7 @@
 bool ShowHelp() {
 
        std::cout <<
 bool ShowHelp() {
 
        std::cout <<
-               PACKAGE " " VERSION " for " COMMON_ARCH " compiled on " __DATE__ " " __TIME__ << std::endl <<
+               PACKAGE " " PACKAGE_VERSION " for " COMMON_ARCH " compiled on " __DATE__ " " __TIME__ << std::endl <<
                "Usage: apt-dump-resolver\n"
                "\n"
                "apt-dump-resolver is a dummy solver who just dumps its input to the\n"
                "Usage: apt-dump-resolver\n"
                "\n"
                "apt-dump-resolver is a dummy solver who just dumps its input to the\n"