X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c21b68f7dd54127d51ec662b67e559f2a73a0a69..0ce742cf092c9244f27957e308c16f3c2631042d:/include/wx/msw/gsockmsw.h diff --git a/include/wx/msw/gsockmsw.h b/include/wx/msw/gsockmsw.h index 38105d5fa2..6cd735b092 100644 --- a/include/wx/msw/gsockmsw.h +++ b/include/wx/msw/gsockmsw.h @@ -9,6 +9,12 @@ #ifndef __GSOCK_MSW_H #define __GSOCK_MSW_H +#ifndef __GSOCKET_STANDALONE__ +#include "wx/setup.h" +#endif + +#if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) + #ifndef __GSOCKET_STANDALONE__ #include "wx/gsocket.h" #else @@ -84,4 +90,6 @@ GSocketError _GAddress_Init_UNIX(GAddress *address); } #endif +#endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */ + #endif /* __GSOCK_MSW_H */