FD_SET is not a type changed to struct fd_set.

Reordered headers to avoid including sys/select.h before winbase.h.
This commit is contained in:
Robert Lunnon 2004-01-14 05:20:59 +00:00 committed by Alexandre Julliard
parent 16bd45d733
commit 9376904446
1 changed files with 4 additions and 3 deletions

View File

@ -66,14 +66,15 @@
*/ */
#include "config.h" #include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "winsock2.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "winreg.h" #include "winreg.h"
#include "iphlpapi.h" #include "iphlpapi.h"
#include "winsock2.h"
#include "netbios.h" #include "netbios.h"
#include "nbnamecache.h" #include "nbnamecache.h"
@ -297,7 +298,7 @@ static UCHAR NetBTWaitForNameResponse(NetBTAdapter *adapter, SOCKET fd,
while (!found && ret == NRC_GOODRET && (now = GetTickCount()) < waitUntil) while (!found && ret == NRC_GOODRET && (now = GetTickCount()) < waitUntil)
{ {
DWORD msToWait = waitUntil - now; DWORD msToWait = waitUntil - now;
FD_SET fds; struct fd_set fds;
struct timeval timeout = { msToWait / 1000, msToWait % 1000 }; struct timeval timeout = { msToWait / 1000, msToWait % 1000 };
int r; int r;