X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c330a2cf9369d3ae2bdb3bd67e995517288b353d..00631700eb30afcf542e4da197484ebde2052a25:/src/common/sckaddr.cpp 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"