]> git.saurik.com Git - wxWidgets.git/commitdiff
More compilation fixes for Solaris. :-<
authorKarsten Ballüder <ballueder@usa.net>
Tue, 26 Jan 1999 13:46:16 +0000 (13:46 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Tue, 26 Jan 1999 13:46:16 +0000 (13:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sckaddr.cpp
src/gtk/app.cpp
src/gtk1/app.cpp
src/iodbc/henv.h

index f3a3f4802603f779cc0baa0cc2b198ce89277715..4c73c3c1e608a3eba2ed9c7e38a015642f45e1a0 100644 (file)
 #include <unistd.h>
 #include <netdb.h>
 
+#ifdef __SUN__
+extern "C"
+{
+   struct hostent *gethostbyname(const char *name); 
+};
+#endif
+
 #endif // __UNIX__
 
 #include "wx/sckaddr.h"
index d499026b381d301783387a5cc209da6adefc5cc5..2c0b307922ee67fb225c0b1084d572ca8d401d73 100644 (file)
 #endif
 #include "unistd.h"
 
+#ifdef __SUN__
+int usleep(unsigned int useconds); 
+#endif
+
 #include "glib.h"
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
index d499026b381d301783387a5cc209da6adefc5cc5..2c0b307922ee67fb225c0b1084d572ca8d401d73 100644 (file)
 #endif
 #include "unistd.h"
 
+#ifdef __SUN__
+int usleep(unsigned int useconds); 
+#endif
+
 #include "glib.h"
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
index d4a175635dfb14862364d0c9ba5902b2bd24b898..a52c18d03f6f9aa828b88cf945e0a7bfc5fe7be5 100644 (file)
 #include       <isql.h>
 #include       <isqlext.h>
 
+#ifndef SYSERR
+#define   SYSERR -1
+#endif
+
 enum
   {