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 /apt-pkg/contrib/weakptr.h | |
parent | 36f1098aed548651a32a2c15cc9ad80c4330b4d9 (diff) | |
download | apt-c65607c5ecc2c3a16d3432583dd859d6fb2dc3aa.tar.gz |
* apt-pkg/contrib/weakptr.h:
- include stddefs.h to fix compile error (undefined NULL) with gcc-4.6
Diffstat (limited to 'apt-pkg/contrib/weakptr.h')
-rw-r--r-- | apt-pkg/contrib/weakptr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/contrib/weakptr.h b/apt-pkg/contrib/weakptr.h index 5158e393..8de727d8 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. * |