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

View File

@@ -35,6 +35,8 @@
#include "gtk/gtk.h" #include "gtk/gtk.h"
#include "wx/gtk/win_gtk.h" #include "wx/gtk/win_gtk.h"
#include <unistd.h> // usleep() on solaris
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// global data // global data
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View File

@@ -35,6 +35,8 @@
#include "gtk/gtk.h" #include "gtk/gtk.h"
#include "wx/gtk/win_gtk.h" #include "wx/gtk/win_gtk.h"
#include <unistd.h> // usleep() on solaris
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// global data // global data
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View File

@@ -38,6 +38,10 @@
#include <itrace.h> #include <itrace.h>
#ifndef NULL
#define NULL 0
#endif
static RETCODE static RETCODE
_iodbcdm_cata_state_ok ( _iodbcdm_cata_state_ok (
HSTMT hstmt, HSTMT hstmt,