]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sckaddr.h
Typos.
[wxWidgets.git] / include / wx / sckaddr.h
index 392a9d138749437b990ae7bedcc82d9d6257646d..b182548948986108844187eeea2fde85ab44e84e 100644 (file)
@@ -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 <winsock.h>
 
 #include <netinet/in.h>
 #endif
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#ifdef WXPREC
-#include <wx/wxprec.h>
-#else
-#include <wx/wx.h>
-#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