summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-01-12 17:15:26 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-01-12 17:15:26 +0100
commitc65607c5ecc2c3a16d3432583dd859d6fb2dc3aa (patch)
treeedcae0146303f2d722be1411c462d8a06b0b09ad /apt-pkg/contrib
parent36f1098aed548651a32a2c15cc9ad80c4330b4d9 (diff)
* apt-pkg/contrib/weakptr.h:
- include stddefs.h to fix compile error (undefined NULL) with gcc-4.6
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r--apt-pkg/contrib/weakptr.h2
1 files changed, 2 insertions, 0 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.
*