diff --git a/include/boost/leaf/common.hpp b/include/boost/leaf/common.hpp index 31322a1..0a51887 100644 --- a/include/boost/leaf/common.hpp +++ b/include/boost/leaf/common.hpp @@ -9,6 +9,7 @@ #include #include +#include #include namespace @@ -30,7 +31,7 @@ boost operator<<( std::ostream & os, ei_errno const & err ) { using namespace std; - os << type() << " = " << err.value << ", \"" << strerror(err.value) << '"'; + os << type() << " = " << err.value << ", \"" << std::strerror(err.value) << '"'; return os; } };