14 lines
570 B
C++
14 lines
570 B
C++
$NetBSD$
|
|
|
|
--- net/socket/unix_domain_client_socket_posix.cc.orig 2020-07-15 18:56:00.000000000 +0000
|
|
+++ net/socket/unix_domain_client_socket_posix.cc
|
|
@@ -57,7 +57,7 @@ bool UnixDomainClientSocket::FillAddress
|
|
return true;
|
|
}
|
|
|
|
-#if defined(OS_ANDROID) || defined(OS_LINUX)
|
|
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_BSD)
|
|
// 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
|