win32: fix broken libc calls
commit49a25f346d4c614fe3d21168f3ca50c005790834
authorStefan Becker <chemobejk@gmail.com>
Sat, 9 Jun 2012 21:07:40 +0000 (10 00:07 +0300)
committerStefan Becker <chemobejk@gmail.com>
Sun, 10 Jun 2012 12:38:33 +0000 (10 15:38 +0300)
treead043deb81a87c61f717dff5d41f8fc094c8043f
parent81016d18a3774aaa9601ef82426dd3095df760d4
win32: fix broken libc calls

read(), write() & friends require inclusion of win32/win32dep.h so that
the correct libpurple win32 libc wrappers are called. Only then sockets
are working correctly.

This fixes the write error for TCP connections on win32.
(cherry picked from commit 9488cc344c364bc5b5528afe64b1c4362d0b03c8)
src/purple/purple-dnsquery.c
src/purple/purple-ft.c
src/purple/purple-media.c
src/purple/purple-network.c
src/purple/purple-transport.c