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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user