gnutls/gnutls-3.8.3-fix-mingw-build.patch
Zoltan Fridrich fc9a2819eb Fix mingw build failure
Related: RHEL-35857
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
2024-05-16 17:50:57 +09:00

13 lines
417 B
Diff

diff --color -ruNp a/lib/system/sockets.c b/lib/system/sockets.c
--- a/lib/system/sockets.c 2024-01-16 03:36:04.000000000 +0100
+++ b/lib/system/sockets.c 2024-02-22 16:20:48.900495575 +0100
@@ -208,7 +208,7 @@ int gnutls_system_recv_timeout(gnutls_tr
} while (ret == -1 && errno == EINTR);
#else
fd_set rfds;
- struct timeval _tv, *tv = NULL;
+ TIMEVAL _tv, *tv = NULL;
FD_ZERO(&rfds);
FD_SET(fd, &rfds);