diff -r -U 3 a/boost/asio/ip/tcp.hpp b/boost/asio/ip/tcp.hpp --- a/boost/asio/ip/tcp.hpp 2015-03-03 15:48:15.000000000 +0100 +++ b/boost/asio/ip/tcp.hpp 2015-03-03 16:02:31.000000000 +0100 @@ -32,6 +32,8 @@ namespace asio { namespace ip { +#pragma GCC visibility push (default) + /// Encapsulates the flags needed for TCP. /** * The boost::asio::ip::tcp class contains flags necessary for TCP sockets. @@ -152,6 +154,8 @@ } // namespace asio } // namespace boost +#pragma GCC visibility pop + #include #endif // BOOST_ASIO_IP_TCP_HPP diff -r -U 3 a/boost/asio/stream_socket_service.hpp b/boost/asio/stream_socket_service.hpp --- a/boost/asio/stream_socket_service.hpp 2015-03-03 15:48:15.000000000 +0100 +++ b/boost/asio/stream_socket_service.hpp 2015-03-03 16:02:52.000000000 +0100 @@ -35,6 +35,8 @@ namespace boost { namespace asio { +#pragma GCC visibility push (default) + /// Default service implementation for a stream socket. template class stream_socket_service @@ -370,6 +372,8 @@ service_impl_type service_impl_; }; +#pragma GCC visibility pop + } // namespace asio } // namespace boost