yaml-cpp/001_yaml-cpp_fixbuildgcc46.patch
2011-05-09 14:13:44 +02:00

23 lines
680 B
Diff

diff -ru yaml-cpp-0.2.6//src/ptr_stack.h yaml-cpp//src/ptr_stack.h
--- a/src/ptr_stack.h 2011-03-03 09:11:14.000000000 +0100
+++ b/src/ptr_stack.h 2011-05-09 13:59:18.039965165 +0200
@@ -8,6 +8,7 @@
#include "yaml-cpp/noncopyable.h"
#include <memory>
#include <vector>
+#include <cstdlib>
template <typename T>
class ptr_stack: private YAML::noncopyable
diff -ru yaml-cpp-0.2.6//src/ptr_vector.h yaml-cpp//src/ptr_vector.h
--- a/src/ptr_vector.h 2011-03-16 02:13:41.000000000 +0100
+++ b/src/ptr_vector.h 2011-05-09 13:58:46.607892700 +0200
@@ -8,6 +8,7 @@
#include "yaml-cpp/noncopyable.h"
#include <memory>
#include <vector>
+#include <cstdlib>
namespace YAML {