[05/10] webservices: Add support for outgoing TCP connections.

Alexandre Julliard julliard at winehq.org
Thu Apr 20 12:05:36 CDT 2017


Hans Leidekker <hans at codeweavers.com> writes:

> Signed-off-by: Hans Leidekker <hans at codeweavers.com>
> ---
>  dlls/webservices/channel.c             | 286 ++++++++++++++++++++++++++-------
>  dlls/webservices/listener.c            |  16 +-
>  dlls/webservices/webservices_private.h |   5 +
>  3 files changed, 240 insertions(+), 67 deletions(-)

This breaks the Android build:

x86_64-linux-android-gcc -m64 -c -o proxy.o ../../../wine/dlls/webservices/proxy.c -I. -I../../../wine/dlls/webservices \
  -I../../include -I../../../wine/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith \
  -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2 -fno-diagnostics-show-caret
In file included from ../../../wine/dlls/webservices/webservices_private.h:19:0,
                 from ../../../wine/dlls/webservices/proxy.c:29:
../../../wine/include/ws2tcpip.h:57:16: error: conflicting types for 'socklen_t'
../../../wine/include/ws2tcpip.h:29:18: note: in definition of macro 'WS'
In file included from /home/julliard/wine/build/toolchain-android-x86_64/sysroot/usr/include/stdio.h:50:0,
                 from ../../../wine/dlls/webservices/proxy.c:19:
/home/julliard/wine/build/toolchain-android-x86_64/sysroot/usr/include/sys/types.h:127:21: note: previous declaration of 'socklen_t' was here

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list