(no subject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Affected files
dlls/netapi32/nbt.c

Changelog:
	FD_SET is not a type changed to struct fd_set
	Reordered headers to avoid including sys/select.h before winbase.h
Index: dlls/netapi32/nbt.c
===================================================================
RCS file: /home/wine/wine/dlls/netapi32/nbt.c,v
retrieving revision 1.3
diff -u -3 -p -b -r1.3 nbt.c
--- dlls/netapi32/nbt.c	2 Jan 2004 20:15:05 -0000	1.3
+++ dlls/netapi32/nbt.c	8 Jan 2004 04:54:29 -0000
@@ -66,14 +66,15 @@
  */
 
 #include "config.h"
-
 #include <stdarg.h>
+
 #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"
 
@@ -283,6 +284,7 @@ typedef BOOL (*NetBTAnswerCallback)(void
  * Returns NRC_GOODRET on timeout or a valid response received, something else
  * on error.
  */
+
 static UCHAR NetBTWaitForNameResponse(NetBTAdapter *adapter, SOCKET fd,
  DWORD waitUntil, NetBTAnswerCallback answerCallback, void *data)
 {
@@ -297,7 +299,7 @@ static UCHAR NetBTWaitForNameResponse(Ne
     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;
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux