sun compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder 1999-01-26 12:35:11 +00:00
parent c330a2cf93
commit 00631700eb

View File

@ -48,7 +48,7 @@
#include <socket.h>
#include <in.h>
#else
#if defined(__FreeBSD__) || defined (__NetBSD__)
#if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__SUN__)
#include <sys/types.h>
#endif
#include <sys/types.h>
@ -59,12 +59,6 @@
#include <unistd.h>
#include <netdb.h>
#ifdef __SUN__
extern "C" {
int gethostname(char *name, int namelen);
};
#endif
#endif // __UNIX__
#include "wx/sckaddr.h"