From: Karsten Ballüder Date: Tue, 26 Jan 1999 12:35:11 +0000 (+0000) Subject: sun compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/00631700eb30afcf542e4da197484ebde2052a25 sun compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/sckaddr.cpp b/src/common/sckaddr.cpp index 801921e8aa..354529e93a 100644 --- a/src/common/sckaddr.cpp +++ b/src/common/sckaddr.cpp @@ -48,7 +48,7 @@ #include #include #else -#if defined(__FreeBSD__) || defined (__NetBSD__) +#if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__SUN__) #include #endif #include @@ -59,12 +59,6 @@ #include #include -#ifdef __SUN__ -extern "C" { - int gethostname(char *name, int namelen); -}; -#endif - #endif // __UNIX__ #include "wx/sckaddr.h"