From: Mattia Barbon Date: Thu, 11 Sep 2003 20:58:49 +0000 (+0000) Subject: Cygwin compilation fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3c302c07bc17b1c1e4ad54071dd19b63fd31bb5f Cygwin compilation fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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