http://bugs.winehq.org/show_bug.cgi?id=25900
Matias Colli matiasbsd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matiasbsd@gmail.com
--- Comment #12 from Matias Colli matiasbsd@gmail.com 2012-05-02 20:15:37 CDT --- Hi, mi name is Matias Colli, I'm Argentina and I new in this forum. Please, see this patch for solution the internettransport.c compilation problem: dlls/inetcomm/internettransport.c
--- a/include/winsock.h +++ b/include/winsock.h @@ -79,12 +79,14 @@ # define fd_set unix_fd_set # define timeval unix_timeval # define select unix_select +# define socklen_t unix_socklen_t # include <sys/types.h> # include <time.h> # include <stdlib.h> # undef fd_set # undef timeval # undef select +# undef socklen_t # undef FD_SETSIZE # undef FD_CLR # undef FD_SET
--- a/include/ws2tcpip.h +++ b/include/ws2tcpip.h @@ -57,7 +57,9 @@ typedef struct WS(addrinfoW) struct WS(addrinfoW)* ai_next; } ADDRINFOW, *PADDRINFOW;
+#ifdef USE_WS_PREFIX typedef int WS(socklen_t); +#undef
--- a/dlls/inetcomm/internettransport.c +++ b/dlls/inetcomm/internettransport.c @@ -20,19 +20,15 @@
#define COBJMACROS
-#include <stdarg.h> -#include <stdio.h> - +#include "ws2tcpip.h" #include "windef.h" -#include "winbase.h" #include "winnt.h" -#include "winuser.h" -#include "winsock2.h" -#include "ws2tcpip.h" #include "objbase.h" #include "ole2.h" #include "mimeole.h"
+#include <stdio.h> + #include "wine/debug.h"
#include "inetcomm_private.h"