I'm including <boost/asio.hpp> and I'm getting the following compile error on Solaris 10 using gcc 3.4.3 with both Boost 1.39 and 1.40.
 
In file included from /opt/boost_1_39_0/boost/asio/detail/socket_types.hpp:111,
                 from /opt/boost_1_39_0/boost/asio/detail/win_iocp_io_service_fwd.hpp:24,
                 from /opt/boost_1_39_0/boost/asio/io_service.hpp:37,
                 from /opt/boost_1_39_0/boost/asio/basic_io_object.hpp:20,
                 from /opt/boost_1_39_0/boost/asio/basic_socket.hpp:24,
                 from /opt/boost_1_39_0/boost/asio/basic_datagram_socket.hpp:25,
                 from /opt/boost_1_39_0/boost/asio.hpp:20,
...
 
/usr/include/net/if.h:99: error: template argument required for `struct map'
 
Does anyone know of a work around for this?
 
Thanks,
 
Paul