X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/062c4861718a681a27384d6a2313fc26cda3b3e4..3883022093c42e3fb7b248ea2cb4bbd1e056a75b:/include/wx/socket.h?ds=sidebyside diff --git a/include/wx/socket.h b/include/wx/socket.h index ef410dbc30..36a0934e45 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -16,6 +16,10 @@ #pragma interface "socket.h" #endif +#include "wx/defs.h" + +#if wxUSE_SOCKETS + // --------------------------------------------------------------------------- // Windows(tm) specific // --------------------------------------------------------------------------- @@ -37,10 +41,12 @@ // wxSocket headers (generic) // --------------------------------------------------------------------------- #ifdef WXPREC -#include + #include "wx/wxprec.h" #else -#include + #include "wx/event.h" + #include "wx/string.h" #endif + #include "wx/sckaddr.h" class WXDLLEXPORT wxSocketEvent; @@ -278,3 +284,7 @@ typedef void (wxEvtHandler::*wxSocketEventFunction)(wxSocketEvent&); (wxObject *) NULL }, #endif + // wxUSE_SOCKETS + +#endif + // _WX_NETWORK_SOCKET_H