diff options
Diffstat (limited to 'src/common/server.c')
-rw-r--r-- | src/common/server.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/common/server.c b/src/common/server.c index c8cc59e0..2e8d535d 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -33,12 +33,13 @@ #define WANTARPA #include "inet.h" -#ifndef WIN32 +#ifdef WIN32 +#include <winbase.h> +#include <io.h> +#else #include <signal.h> #include <sys/wait.h> #include <unistd.h> -#else -#include <winbase.h> #endif #include "xchat.h" @@ -907,7 +908,9 @@ server_read_child (GIOChannel *source, GIOCondition condition, server *serv) char outbuf[512]; char host[100]; char ip[100]; +#ifdef USE_MSPROXY char *p; +#endif waitline2 (source, tbuf, sizeof tbuf); |