Ticket #4578: boost-1.39.0-hpux-gcc-asio.patch
File boost-1.39.0-hpux-gcc-asio.patch, 883 bytes (added by , 12 years ago) |
---|
-
boost/asio/detail/socket_types.hpp
old new 96 96 # include <sys/ioctl.h> 97 97 # include <sys/poll.h> 98 98 # include <sys/types.h> 99 # if defined(__hpux) && !defined(__HP_aCC)99 # if defined(__hpux) 100 100 # include <sys/time.h> 101 # else 101 # endif 102 # if !defined(__hpux) || defined(__SELECT) 102 103 # include <sys/select.h> 103 104 # endif 104 105 # include <sys/socket.h> -
boost/asio/detail/socket_ops.hpp
old new 636 636 timeout->tv_usec = 1000; 637 637 #endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__) 638 638 639 #if defined(__hpux) && defined(__ HP_aCC)639 #if defined(__hpux) && defined(__SELECT) 640 640 timespec ts; 641 641 ts.tv_sec = timeout ? timeout->tv_sec : 0; 642 642 ts.tv_nsec = timeout ? timeout->tv_usec * 1000 : 0;