Просмотр исходного кода

* apt-pkg/contrib/weakptr.h:
- fix compile error with g++ 4.6

Michael Vogt лет назад: 15
Родитель
Сommit
64553ed102
2 измененных файлов с 3 добавлено и 0 удалено
  1. 1 0
      apt-pkg/contrib/weakptr.h
  2. 2 0
      debian/changelog

+ 1 - 0
apt-pkg/contrib/weakptr.h

@@ -21,6 +21,7 @@
 #ifndef WEAK_POINTER_H
 #define WEAK_POINTER_H
 
+#include <cstdlib>
 #include <set>
 /**
  * Class for objects providing support for weak pointers.

+ 2 - 0
debian/changelog

@@ -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: