0
0
mirror of https://github.com/hufrea/byedpi.git synced 2025-06-30 02:31:15 +00:00

Fix build

This commit is contained in:
ruti 2025-02-01 10:04:49 +03:00
parent fc254d3deb
commit e910e28554

View File

@ -106,6 +106,8 @@ static bool sock_has_notsent(int sfd)
}
return tcpi.tcpi_notsent_bytes != 0;
}
#else
#define sock_has_notsent(sfd) 0
#endif
static struct packet get_tcp_fake(const char *buffer, size_t n,
@ -230,7 +232,6 @@ static ssize_t send_fake(int sfd, const char *buffer,
#endif
#ifdef _WIN32
#define sock_has_notsent(sfd) 0
#define MAX_TF 2
struct tf_s {