[Bug 25900] build fails dlls/httpapi/httpapi_main.c on caos NSA 0.9 x86_64
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed May 2 20:15:37 CDT 2012
http://bugs.winehq.org/show_bug.cgi?id=25900
Matias Colli <matiasbsd at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matiasbsd at gmail.com
--- Comment #12 from Matias Colli <matiasbsd at 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"
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list