More compilation fixes for Solaris. :-<

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1999-01-26 13:46:16 +00:00
parent 073c8fe92a
commit 24178e4a14
4 changed files with 19 additions and 0 deletions

View File

@@ -55,6 +55,13 @@
#include <unistd.h> #include <unistd.h>
#include <netdb.h> #include <netdb.h>
#ifdef __SUN__
extern "C"
{
struct hostent *gethostbyname(const char *name);
};
#endif
#endif // __UNIX__ #endif // __UNIX__
#include "wx/sckaddr.h" #include "wx/sckaddr.h"

View File

@@ -30,6 +30,10 @@
#endif #endif
#include "unistd.h" #include "unistd.h"
#ifdef __SUN__
int usleep(unsigned int useconds);
#endif
#include "glib.h" #include "glib.h"
#include "gdk/gdk.h" #include "gdk/gdk.h"
#include "gtk/gtk.h" #include "gtk/gtk.h"

View File

@@ -30,6 +30,10 @@
#endif #endif
#include "unistd.h" #include "unistd.h"
#ifdef __SUN__
int usleep(unsigned int useconds);
#endif
#include "glib.h" #include "glib.h"
#include "gdk/gdk.h" #include "gdk/gdk.h"
#include "gtk/gtk.h" #include "gtk/gtk.h"

View File

@@ -32,6 +32,10 @@
#include <isql.h> #include <isql.h>
#include <isqlext.h> #include <isqlext.h>
#ifndef SYSERR
#define SYSERR -1
#endif
enum enum
{ {