X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ada568223b79c8a5769cc351c36a8e2ccd7841..fd15d8f1b0b437312a117b7e4509708a22e30806:/include/wx/sckaddr.h?ds=sidebyside diff --git a/include/wx/sckaddr.h b/include/wx/sckaddr.h index 392a9d1387..b182548948 100644 --- a/include/wx/sckaddr.h +++ b/include/wx/sckaddr.h @@ -8,9 +8,18 @@ // Copyright: (c) 1997, 1998 Guilhem Lavaux // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// + #ifndef _WX_NETWORK_ADDRESS_H #define _WX_NETWORK_ADDRESS_H +#ifdef __GNUG__ +#pragma interface +#endif + +#include "wx/defs.h" + +#if wxUSE_SOCKETS + #if defined(__WINDOWS__) && defined(WXSOCK_INTERNAL) #include @@ -21,15 +30,7 @@ #include #endif -#ifdef __GNUG__ -#pragma interface -#endif - -#ifdef WXPREC -#include -#else -#include -#endif +#include "wx/string.h" class WXDLLEXPORT wxSockAddress : public wxObject { DECLARE_ABSTRACT_CLASS(wxSockAddress) @@ -132,5 +133,10 @@ public: inline int Type() { return wxSockAddress::UNIX; } }; #endif + // __UNIX__ #endif + // wxUSE_SOCKETS + +#endif + // _WX_NETWORK_ADDRESS_H