From 2eaeb65666c00f02fbdf19ad30d4e0ea9fc69d4d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 30 Dec 2008 19:07:10 +0100 Subject: listen: include winsock headers on WIN32 On Windows, socket declarations reside in winsock.h and ws2tcpip.h. The POSIX headers are not available. --- src/listen.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/listen.c') diff --git a/src/listen.c b/src/listen.c index 31067ce5a..240539197 100644 --- a/src/listen.c +++ b/src/listen.c @@ -26,9 +26,15 @@ #include #include #include + +#ifdef WIN32 +#include +#include +#else #include #include #include +#endif #undef G_LOG_DOMAIN #define G_LOG_DOMAIN "listen" -- cgit v1.2.3