From: Cephas Date: Sun, 29 May 2011 05:01:23 +0000 (-0600) Subject: Bug 2965: partial: Compile errors on MinGW X-Git-Tag: SQUID_3_1_12_2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77054534101b9297fe23b2d617280d7601825a55;p=thirdparty%2Fsquid.git Bug 2965: partial: Compile errors on MinGW --- diff --git a/compat/os/mswin.h b/compat/os/mswin.h index 80dd9c6c38..cfa2f3790a 100644 --- a/compat/os/mswin.h +++ b/compat/os/mswin.h @@ -286,6 +286,9 @@ typedef char * caddr_t; #ifndef EAFNOSUPPORT #define EAFNOSUPPORT WSAEAFNOSUPPORT #endif +#ifndef ENETUNREACH +#define ENETUNREACH WSAENETUNREACH +#endif #undef h_errno #define h_errno errno /* we'll set it ourselves */ diff --git a/src/ipc_win32.cc b/src/ipc_win32.cc index 77a354a293..b326f9a7de 100644 --- a/src/ipc_win32.cc +++ b/src/ipc_win32.cc @@ -36,6 +36,8 @@ #include "squid.h" #include "comm.h" #include "fde.h" +#include "ip/Address.h" +#include "rfc1738.h" #include "SquidTime.h" #ifndef _MSWSOCK_