aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-net_socket_unix__domain__client__socket__posix.cc
blob: 9eca5cde3a11167c056db006ac38e576d93debab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- net/socket/unix_domain_client_socket_posix.cc.orig	2021-07-15 19:13:43 UTC
+++ net/socket/unix_domain_client_socket_posix.cc
@@ -59,7 +59,7 @@ bool UnixDomainClientSocket::FillAddress(const std::st
     return true;
   }
 
-#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) || 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