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,
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