]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/contrib/weakptr.h:
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 12 Jan 2011 15:32:38 +0000 (16:32 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 12 Jan 2011 15:32:38 +0000 (16:32 +0100)
  - fix compile error with g++ 4.6

apt-pkg/contrib/weakptr.h
debian/changelog

index 5158e393c60c8c2eafb1a949b0c4fd764bc8c376..ed92eb3f95040bcb31f7b8d77b282a79aa75d8e1 100644 (file)
@@ -21,6 +21,7 @@
 #ifndef WEAK_POINTER_H
 #define WEAK_POINTER_H
 
+#include <cstdlib>
 #include <set>
 /**
  * Class for objects providing support for weak pointers.
index 98c127143fdc9ec7d8aa765bd6fd96d50345b1ce..cf56a384efcc86b467a940712659e3fea72aba44 100644 (file)
@@ -80,6 +80,8 @@ apt (0.8.7) unstable; urgency=low
   * apt-pkg/deb/debsystem.cc:
     - fix issues with dir::state::status and dir::state::extended_states
       when alternative rootdirs are used
+  * apt-pkg/contrib/weakptr.h:
+    - fix compile error with g++ 4.6
 
   [ Martin Pitt ]
   * apt-pkg/deb/debindexfile.cc: