Cygwin compilation fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-09-11 20:58:49 +00:00
parent a2a6aef2bf
commit 3c302c07bc

View File

@ -37,7 +37,8 @@
#include "wx/msw/private.h" // includes <windows.h>
#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 <winsock.h>