diff --git a/include/boost/iterator/function_output_iterator.hpp b/include/boost/iterator/function_output_iterator.hpp index b59cbc9..eeb8ddf 100644 --- a/include/boost/iterator/function_output_iterator.hpp +++ b/include/boost/iterator/function_output_iterator.hpp @@ -11,6 +11,7 @@ #ifndef BOOST_ITERATOR_FUNCTION_OUTPUT_ITERATOR_HPP #define BOOST_ITERATOR_FUNCTION_OUTPUT_ITERATOR_HPP +#include #include #include #include @@ -62,7 +63,7 @@ namespace iterators { public: typedef std::output_iterator_tag iterator_category; typedef void value_type; - typedef void difference_type; + typedef std::ptrdiff_t difference_type; typedef void pointer; typedef void reference;