]> git.saurik.com Git - wxWidgets.git/commitdiff
more waste of time fixing uncompilable code
authorKarsten Ballüder <ballueder@usa.net>
Tue, 26 Jan 1999 12:42:14 +0000 (12:42 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Tue, 26 Jan 1999 12:42:14 +0000 (12:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sckaddr.cpp

index 354529e93a8eccc92dee8fad59258bbb95061c1c..f3a3f4802603f779cc0baa0cc2b198ce89277715 100644 (file)
 #endif // __WINDOWS__
 
 #if defined(__UNIX__)
-
 #ifdef VMS
 #include <socket.h>
 #include <in.h>
 #else
-#if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__SUN__)
-#include <sys/types.h>
-#endif
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
@@ -77,8 +73,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress)
 #endif
 
 wxIPV4address::wxIPV4address()
-  m_addr = new sockaddr_in;
 {
+  m_addr = new sockaddr_in;
   Clear();
 }