]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/error.cc
rework cachesets API to allow future extension
[apt.git] / apt-pkg / contrib / error.cc
index d457781c3e70e16c60c7c50b83a45c6bb5b48680..892cd48742de54ced9117a26521607a5b8c38f26 100644 (file)
 
 #include <apt-pkg/error.h>
 
+#include <stdarg.h>
+#include <stddef.h>
+#include <list>
 #include <iostream>
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
-
 #include <string>
 #include <cstring>
 
@@ -223,7 +225,7 @@ void GlobalError::DumpErrors(std::ostream &out, MsgType const &threshold,
 void GlobalError::Discard() {
        Messages.clear();
        PendingFlag = false;
-};
+}
                                                                        /*}}}*/
 // GlobalError::empty - does our error list include anything?          /*{{{*/
 bool GlobalError::empty(MsgType const &trashhold) const {