summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/weakptr.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-01-12 16:32:38 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-01-12 16:32:38 +0100
commit64553ed102c5a52604ea632b268c81f789b12176 (patch)
tree921e810cce5477b416c495d0ad85dcc410684f7f /apt-pkg/contrib/weakptr.h
parent6ff4a64c8588a721cb1dfb8303864a6e20ccd76e (diff)
* apt-pkg/contrib/weakptr.h:
- fix compile error with g++ 4.6
Diffstat (limited to 'apt-pkg/contrib/weakptr.h')
-rw-r--r--apt-pkg/contrib/weakptr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/weakptr.h b/apt-pkg/contrib/weakptr.h
index 5158e393c..ed92eb3f9 100644
--- a/apt-pkg/contrib/weakptr.h
+++ b/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.