]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/protocol.h
Added wxInternetFilesystemModule to fs_inet.cpp
[wxWidgets.git] / include / wx / protocol / protocol.h
index f9d105406d180308f748797cdaf73300e4c56f0f..ad3cf86f833f2668ce588791568b1b020d371b55 100644 (file)
 #pragma interface
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_SOCKETS
+
 #include "wx/object.h"
 #include "wx/string.h"
 #include "wx/stream.h"
@@ -30,7 +34,7 @@ typedef enum {
  wxPROTO_NOFILE,
  wxPROTO_ABRT,
  wxPROTO_RCNCT,
- wxPROTO_STREAMING 
+ wxPROTO_STREAMING
 } wxProtocolError;
 
 // For protocols
@@ -76,4 +80,6 @@ public:
 
 wxProtocolError WXDLLEXPORT GetLine(wxSocketBase *sock, wxString& result);
 
-#endif
+#endif // wxUSE_SOCKETS
+
+#endif // _WX_PROTOCOL_PROTOCOL_H