--- libreoffice-25.2.0.2/sal/osl/unx/socket.cxx.~1~ 2025-01-14 21:34:28.945995643 -0500 +++ libreoffice-25.2.0.2/sal/osl/unx/socket.cxx 2025-01-14 23:08:03.281179923 -0500 @@ -866,7 +866,7 @@ { char LocalHostname[256] = ""; -#ifdef SYSV +#if defined(SYSV) && !defined(__sun__) struct utsname uts; if (uname(&uts) < 0)