From 937690444659463ffdbed40d57c0b12ca2d53a94 Mon Sep 17 00:00:00 2001 From: Robert Lunnon Date: Wed, 14 Jan 2004 05:20:59 +0000 Subject: [PATCH] FD_SET is not a type changed to struct fd_set. Reordered headers to avoid including sys/select.h before winbase.h. --- dlls/netapi32/nbt.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dlls/netapi32/nbt.c b/dlls/netapi32/nbt.c index 82941c4538f..4dc247f58c5 100644 --- a/dlls/netapi32/nbt.c +++ b/dlls/netapi32/nbt.c @@ -66,14 +66,15 @@ */ #include "config.h" - #include + #include "windef.h" #include "winbase.h" +#include "winsock2.h" #include "wine/debug.h" #include "winreg.h" #include "iphlpapi.h" -#include "winsock2.h" + #include "netbios.h" #include "nbnamecache.h" @@ -297,7 +298,7 @@ static UCHAR NetBTWaitForNameResponse(NetBTAdapter *adapter, SOCKET fd, while (!found && ret == NRC_GOODRET && (now = GetTickCount()) < waitUntil) { DWORD msToWait = waitUntil - now; - FD_SET fds; + struct fd_set fds; struct timeval timeout = { msToWait / 1000, msToWait % 1000 }; int r;