2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-24 05:52:17 +00:00

added missing required include

This commit is contained in:
Emil Dotchevski
2018-10-13 10:36:54 -07:00
parent 910227b1ad
commit ae980e4dee

View File

@@ -9,6 +9,7 @@
#include <boost/leaf/detail/diagnostic_print.hpp>
#include <string>
#include <cstring>
#include <cerrno>
namespace
@@ -30,7 +31,7 @@ boost
operator<<( std::ostream & os, ei_errno const & err )
{
using namespace std;
os << type<ei_errno>() << " = " << err.value << ", \"" << strerror(err.value) << '"';
os << type<ei_errno>() << " = " << err.value << ", \"" << std::strerror(err.value) << '"';
return os;
}
};