compilation fixes for solaris

PLEASE READ COMPILATION LOGS AFTER MAKING CHANGES!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1999-01-26 11:08:48 +00:00
parent 816e2c288c
commit 69919241d3
4 changed files with 15 additions and 1 deletions

View File

@@ -59,6 +59,12 @@
#include <unistd.h>
#include <netdb.h>
#ifdef __SUN__
extern "C" {
int gethostname(char *name, int namelen);
};
#endif
#endif // __UNIX__
#include "wx/sckaddr.h"
@@ -77,8 +83,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress)
#endif
wxIPV4address::wxIPV4address()
{
m_addr = new sockaddr_in;
{
Clear();
}