]> git.saurik.com Git - wxWidgets.git/commitdiff
Cygwin compilation fix.
authorMattia Barbon <mbarbon@cpan.org>
Thu, 11 Sep 2003 20:58:49 +0000 (20:58 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Thu, 11 Sep 2003 20:58:49 +0000 (20:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/utils.cpp

index e3de12da518ca709c3f46560a091c463b98a7f02..97f1369e3c026afef954567ce680cb7866748bb9 100644 (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>