generic-poky/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-define...

13 lines
258 B
Diff

Upstream-Status: Pending
--- 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.