1 --- anytun-0.3.7.orig/src/anytunError.cpp
2 +++ anytun-0.3.7/src/anytunError.cpp
3 @@ -64,6 +64,6 @@ std::ostream& operator<<(std::ostream& s
5 std::ostream& operator<<(std::ostream& stream, AnytunErrno const& value)
7 - boost::system::system_error err(boost::system::error_code(value.err_, boost::system::get_system_category()));
8 + boost::system::system_error err(boost::system::error_code(value.err_, boost::system::system_category()));
9 return stream << err.what();
11 --- anytun-0.3.7.orig/src/resolver.cpp
12 +++ anytun-0.3.7/src/resolver.cpp
13 @@ -81,7 +81,7 @@ ResolveHandler<Proto>::ResolveHandler(co
15 void ResolveHandler<Proto>::operator()(const boost::system::error_code& e, boost::asio::ip::basic_resolver_iterator<Proto> endpointIt)
17 - if(boost::system::posix_error::success == e) {
18 + if(boost::system::errc::success == e) {
20 onResolve_(endpointIt);
21 } catch(const std::runtime_error& e) {