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();
|
||||
}
|
||||
|
||||
|
@@ -35,6 +35,8 @@
|
||||
#include "gtk/gtk.h"
|
||||
#include "wx/gtk/win_gtk.h"
|
||||
|
||||
#include <unistd.h> // usleep() on solaris
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// global data
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@@ -35,6 +35,8 @@
|
||||
#include "gtk/gtk.h"
|
||||
#include "wx/gtk/win_gtk.h"
|
||||
|
||||
#include <unistd.h> // usleep() on solaris
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// global data
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@@ -38,6 +38,10 @@
|
||||
|
||||
#include <itrace.h>
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL 0
|
||||
#endif
|
||||
|
||||
static RETCODE
|
||||
_iodbcdm_cata_state_ok (
|
||||
HSTMT hstmt,
|
||||
|
Reference in New Issue
Block a user