mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
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
@ -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…
x
Reference in New Issue
Block a user