* apt-pkg/contrib/weakptr.h:
authorDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 12 Jan 2011 16:15:26 +0000 (17:15 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 12 Jan 2011 16:15:26 +0000 (17:15 +0100)
  - include stddefs.h to fix compile error (undefined NULL) with gcc-4.6

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

index 5158e39..8de727d 100644 (file)
@@ -22,6 +22,8 @@
 #define WEAK_POINTER_H
 
 #include <set>
+#include <stddef.h>
+
 /**
  * Class for objects providing support for weak pointers.
  *
index 123b884..61b551c 100644 (file)
@@ -20,8 +20,10 @@ apt (0.8.11+wheezy) unstable; urgency=low
   * apt-pkg/contrib/fileutl.cc:
     - add a RealFileExists method and check that your configuration files
       are real files to avoid endless loops if not (Closes: #604401)
+  * apt-pkg/contrib/weakptr.h:
+    - include stddefs.h to fix compile error (undefined NULL) with gcc-4.6
 
- -- David Kalnischkies <kalnischkies@gmail.com>  Wed, 12 Jan 2011 16:53:41 +0100
+ -- David Kalnischkies <kalnischkies@gmail.com>  Wed, 12 Jan 2011 17:14:14 +0100
 
 apt (0.8.10) unstable; urgency=low