From 3c302c07bc17b1c1e4ad54071dd19b63fd31bb5f Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Thu, 11 Sep 2003 20:58:49 +0000 Subject: [PATCH] Cygwin compilation fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index e3de12da51..97f1369e3c 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -37,7 +37,8 @@ #include "wx/msw/private.h" // includes #include "wx/msw/missing.h" // CHARSET_HANGUL -#if defined(__GNUWIN32_OLD__) || defined(__WXWINCE__) +#if defined(__GNUWIN32_OLD__) || defined(__WXWINCE__) \ + || defined(__CYGWIN32__) // apparently we need to include winsock.h to get WSADATA and other stuff // used in wxGetFullHostName() with the old mingw32 versions #include -- 2.45.2