summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt/fix-gcc-4.6-null-not-defined.patch
blob: 899c6ef2fcf327a2f38e5663565f8d3735cbc30d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Upstream-Status: Pending

Index: apt-1.2.24/apt-pkg/contrib/weakptr.h
===================================================================
--- apt-1.2.24.orig/apt-pkg/contrib/weakptr.h
+++ apt-1.2.24/apt-pkg/contrib/weakptr.h
@@ -21,6 +21,7 @@
 #ifndef WEAK_POINTER_H
 #define WEAK_POINTER_H
 
+#include <cstdlib>
 #include <set>
 #include <stddef.h>