Re: [Bug-wget] wget 1.13: FIONBIO does not exist on solaris

2011-09-04 Thread Giuseppe Scrivano
Christian Jullien eli...@orange.fr writes: When compiling gnutls.c on solaris 10 sparc with gcc 4.6.1 I get an error on: ret = ioctl (fd, FIONBIO, one); because FIONBIO is undefined. Adding: #include sys/fcntl.h Let: #ifdef F_GETFL ret = fcntl (fd,

[Bug-wget] wget 1.13: FIONBIO does not exist on solaris

2011-09-03 Thread Christian Jullien
When compiling gnutls.c on solaris 10 sparc with gcc 4.6.1 I get an error on: ret = ioctl (fd, FIONBIO, one); because FIONBIO is undefined. Adding: #include sys/fcntl.h Let: #ifdef F_GETFL ret = fcntl (fd, F_SETFL, flags | O_NONBLOCK); to be used instead. It then