From 00631700eb30afcf542e4da197484ebde2052a25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Tue, 26 Jan 1999 12:35:11 +0000 Subject: [PATCH] sun compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/sckaddr.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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" -- 2.45.2