--- boost/asio/detail/socket_types.hpp.orig 2010-08-20 15:53:32 +0200 +++ boost/asio/detail/socket_types.hpp 2010-08-20 15:54:30 +0200 @@ -96,9 +96,10 @@ # include # include # include -# if defined(__hpux) && !defined(__HP_aCC) +# if defined(__hpux) # include -# else +# endif +# if !defined(__hpux) || defined(__SELECT) # include # endif # include --- boost/asio/detail/socket_ops.hpp.orig 2010-08-20 15:53:37 +0200 +++ boost/asio/detail/socket_ops.hpp 2010-08-20 15:56:19 +0200 @@ -636,7 +636,7 @@ timeout->tv_usec = 1000; #endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__) -#if defined(__hpux) && defined(__HP_aCC) +#if defined(__hpux) && defined(__SELECT) timespec ts; ts.tv_sec = timeout ? timeout->tv_sec : 0; ts.tv_nsec = timeout ? timeout->tv_usec * 1000 : 0;