File blocxx-2.1.0-std-ptrdiff.diff of Package blocxx

--- src/blocxx/Enumeration.hpp
+++ src/blocxx/Enumeration.hpp	2011/02/25 08:55:25
@@ -41,6 +41,7 @@
 #include "blocxx/TempFileEnumerationImplBase.hpp"
 #include "blocxx/IntrusiveReference.hpp"
 
+#include <cstddef>  // std::ptrdiff_t
 #include <iterator> // for the iterator tags
 
 namespace BLOCXX_NAMESPACE
@@ -130,7 +131,7 @@ public:
 	typedef T value_type;
 	typedef const T* pointer;
 	typedef const T& reference;
-	typedef ptrdiff_t difference_type;
+	typedef std::ptrdiff_t difference_type;
 	Enumeration_input_iterator() : m_enumeration(0), m_ok(false)
 	{
 	}