Fix build with headers that only typedef fd_set without defining a struct fd_set type
This commit is contained in:
parent
c680a76289
commit
c9d332089f
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ SOCKET connectTcpSocket(struct sockaddr_storage* dstaddr, SOCKADDR_LEN addrlen,
|
|||
|
||||
#ifdef FIONBIO
|
||||
{
|
||||
struct fd_set writefds, exceptfds;
|
||||
fd_set writefds, exceptfds;
|
||||
struct timeval tv;
|
||||
|
||||
FD_ZERO(&writefds);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue