diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-01-12 17:15:26 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-01-12 17:15:26 +0100 |
commit | c65607c5ecc2c3a16d3432583dd859d6fb2dc3aa (patch) | |
tree | edcae0146303f2d722be1411c462d8a06b0b09ad | |
parent | 36f1098aed548651a32a2c15cc9ad80c4330b4d9 (diff) |
* apt-pkg/contrib/weakptr.h:
- include stddefs.h to fix compile error (undefined NULL) with gcc-4.6
-rw-r--r-- | apt-pkg/contrib/weakptr.h | 2 | ||||
-rw-r--r-- | debian/changelog | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/contrib/weakptr.h b/apt-pkg/contrib/weakptr.h index 5158e393c..8de727d89 100644 --- a/apt-pkg/contrib/weakptr.h +++ b/apt-pkg/contrib/weakptr.h @@ -22,6 +22,8 @@ #define WEAK_POINTER_H #include <set> +#include <stddef.h> + /** * Class for objects providing support for weak pointers. * diff --git a/debian/changelog b/debian/changelog index 123b88430..61b551cc9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 |