--- 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 // std::ptrdiff_t #include // 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) { }