aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-components_named__mojo__ipc__server_connection__info.h
blob: a8974c4f65caefd8d7436f00a3afad4fe543f7b6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                                                       
                                                      
                 







                                               

                                                                






                                               
--- components/named_mojo_ipc_server/connection_info.h.orig	2024-03-22 08:19:40 UTC
+++ components/named_mojo_ipc_server/connection_info.h
@@ -14,7 +14,7 @@
 #include "base/win/scoped_handle.h"
 #elif BUILDFLAG(IS_MAC)
 #include <bsm/libbsm.h>
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
 #include <sys/socket.h>
 #endif
 
@@ -33,7 +33,7 @@ struct ConnectionInfo {
   std::optional<base::win::ScopedHandle> impersonation_token{};
 #elif BUILDFLAG(IS_MAC)
   audit_token_t audit_token{};
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   ucred credentials{};
 #endif
 };