]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/protocol.cpp
Added missing includes for non-precompiled headers.
[wxWidgets.git] / src / common / protocol.cpp
index 9deef928f6cd7e15693a9efe7cd4b3cc15861d02..213de7ce97eda58cd902752bbf07c1cb9aa3a54c 100644 (file)
@@ -66,6 +66,7 @@ wxProtocol::wxProtocol()
 {
 }
 
+#if wxUSE_SOCKETS
 bool wxProtocol::Reconnect()
 {
   wxIPV4address addr;
@@ -167,6 +168,7 @@ wxProtocolError GetLine(wxSocketBase *sock, wxString& result) {
   return wxPROTO_NOERR;
 #undef PROTO_BSIZE
 }
+#endif // wxUSE_SOCKETS
 
 #endif // wxUSE_PROTOCOL