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:
parent
a2a6aef2bf
commit
3c302c07bc
@ -37,7 +37,8 @@
|
|||||||
#include "wx/msw/private.h" // includes <windows.h>
|
#include "wx/msw/private.h" // includes <windows.h>
|
||||||
#include "wx/msw/missing.h" // CHARSET_HANGUL
|
#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
|
// apparently we need to include winsock.h to get WSADATA and other stuff
|
||||||
// used in wxGetFullHostName() with the old mingw32 versions
|
// used in wxGetFullHostName() with the old mingw32 versions
|
||||||
#include <winsock.h>
|
#include <winsock.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user