diff options
Diffstat (limited to 'sock.h')
-rw-r--r-- | sock.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,5 +8,5 @@ #include <netdb.h> #define sock_make_nonblocking(fd) fcntl(fd, F_SETFL, O_NONBLOCK) #define sock_make_blocking(fd) fcntl(fd, F_SETFL, 0) -#define sockerr_again() (errno == EINPROGRESS || errno == EINTR) +#define sockerr_again() (errno == EINPROGRESS || errno == EINTR || errno == EAGAIN) void closesocket(int fd); |