]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-output.cc
really release 1.0.4
[apt.git] / apt-private / private-output.cc
index 7f3eef6c26649b4aff21bcb47229f2355fc2a07d..8f190a5516f2ab24833d0f12064fe5e5b2d82611 100644 (file)
@@ -23,6 +23,7 @@
 #include <langinfo.h>
 #include <unistd.h>
 #include <signal.h>
+#include <sys/ioctl.h>
 
 #include <apti18n.h>
                                                                        /*}}}*/
@@ -93,7 +94,7 @@ bool InitOutput()                                                     /*{{{*/
 static std::string GetArchiveSuite(pkgCacheFile &/*CacheFile*/, pkgCache::VerIterator ver) /*{{{*/
 {
    std::string suite = "";
-   if (ver && ver.FileList() && ver.FileList())
+   if (ver && ver.FileList())
    {
       pkgCache::VerFileIterator VF = ver.FileList();
       for (; VF.end() == false ; ++VF)