mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
12 lines
606 B
C++
12 lines
606 B
C++
--- net/base/sockaddr_util_posix.cc.orig 2025-03-18 16:46:04 UTC
|
|
+++ net/base/sockaddr_util_posix.cc
|
|
@@ -45,7 +45,8 @@ bool FillUnixAddress(const std::string& socket_path,
|
|
return true;
|
|
}
|
|
|
|
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
+ // XXX ?
|
|
// Convert the path given into abstract socket name. It must start with
|
|
// the '\0' character, so we are adding it. |addr_len| must specify the
|
|
// length of the structure exactly, as potentially the socket name may
|