mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 06:11:03 +00:00
Fix build with headers that only typedef fd_set without defining a struct fd_set type
This commit is contained in:
@@ -146,7 +146,7 @@ SOCKET connectTcpSocket(struct sockaddr_storage* dstaddr, SOCKADDR_LEN addrlen,
|
|||||||
|
|
||||||
#ifdef FIONBIO
|
#ifdef FIONBIO
|
||||||
{
|
{
|
||||||
struct fd_set writefds, exceptfds;
|
fd_set writefds, exceptfds;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
|
||||||
FD_ZERO(&writefds);
|
FD_ZERO(&writefds);
|
||||||
|
|||||||
Reference in New Issue
Block a user