]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckaddr.cpp
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / src / common / sckaddr.cpp
index ecee1e177032e799d012f6df4ad880ce9155942c..ec572a2adb26a7fbab000ca68cad1a18c7e25164 100644 (file)
@@ -47,7 +47,7 @@
 
 #include <errno.h>
 
 
 #include <errno.h>
 
-#if defined(__UNIX__) && !defined(__CYGWIN__)
+#if defined(__UNIX__) && !defined(__WXMSW__)
     #include <netdb.h>
     #include <arpa/inet.h>
 #endif // __UNIX__
     #include <netdb.h>
     #include <arpa/inet.h>
 #endif // __UNIX__