ws2tcpip.h: Define socklen_t

Felix Nawothnig felix.nawothnig at t-online.de
Fri Nov 12 19:22:17 CST 2004


We don't have socklen_t defined anywhere and that's the place where  
it's defined in the official headers so... WASTE compiles fine now... 
(I'm sure there is a reason why it isn't defined but I can't see it -  
so tell me why this will be rejected... err... if it will be... :-)

Changelog:
	Define socklen_t.

-------------- next part --------------
Index: include/ws2tcpip.h
===================================================================
RCS file: /home/wine/wine/include/ws2tcpip.h,v
retrieving revision 1.4
diff -u -r1.4 ws2tcpip.h
--- include/ws2tcpip.h	31 Mar 2004 19:58:46 -0000	1.4
+++ include/ws2tcpip.h	13 Nov 2004 01:07:28 -0000
@@ -28,6 +28,8 @@
 /* FIXME: This gets defined by some Unix (Linux) header and messes things */
 #undef s6_addr
 
+typedef int socklen_t;
+
 /*
  * Multicast group information
  */


More information about the wine-patches mailing list