summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/weakptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/contrib/weakptr.h')
-rw-r--r--apt-pkg/contrib/weakptr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/contrib/weakptr.h b/apt-pkg/contrib/weakptr.h
index ed92eb3f9..8de727d89 100644
--- a/apt-pkg/contrib/weakptr.h
+++ b/apt-pkg/contrib/weakptr.h
@@ -21,8 +21,9 @@
#ifndef WEAK_POINTER_H
#define WEAK_POINTER_H
-#include <cstdlib>
#include <set>
+#include <stddef.h>
+
/**
* Class for objects providing support for weak pointers.
*