X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e09200046e18a938de58117db520372e90493a8c..ac52d2b0fc5d688fd882c54a60592c9c9ce61a29:/src/common/ftp.cpp diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index daf87e82db..909fe66861 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -48,10 +48,6 @@ #include "wx/protocol/protocol.h" #include "wx/protocol/ftp.h" -#if defined(__WXMAC__) - #include "wx/mac/macsock.h" -#endif - #ifndef __MWERKS__ #include #endif @@ -111,7 +107,7 @@ wxFTP::~wxFTP() // wxFTP connect and login methods // ---------------------------------------------------------------------------- -bool wxFTP::Connect(wxSockAddress& addr, bool WXUNUSED(wait)) +bool wxFTP::Connect(const wxSockAddress& addr, bool WXUNUSED(wait)) { if ( !wxProtocol::Connect(addr) ) {