mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
Security: https://vuxml.freebsd.org/freebsd/c53cd328-8131-4fc2-a083-a9e9d45e3028.html Security: https://vuxml.freebsd.org/freebsd/756839e1-cd78-4082-9f9e-d0da616ca8dd.html
29 lines
1.2 KiB
C++
29 lines
1.2 KiB
C++
--- remoting/host/chromoting_host.h.orig 2025-01-15 09:18:26 UTC
|
|
+++ remoting/host/chromoting_host.h
|
|
@@ -36,7 +36,7 @@
|
|
#include "remoting/protocol/session_manager.h"
|
|
#include "remoting/protocol/transport_context.h"
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
#include "remoting/host/chromoting_host_services_server.h"
|
|
#endif
|
|
|
|
@@ -112,7 +112,7 @@ class ChromotingHost : public ClientSession::EventHand
|
|
// This method can only be called once during the lifetime of this object.
|
|
void Start(const std::string& host_owner);
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
// Starts running the ChromotingHostServices server and listening for incoming
|
|
// IPC binding requests.
|
|
// Currently only Linux runs the ChromotingHostServices server on the host
|
|
@@ -220,7 +220,7 @@ class ChromotingHost : public ClientSession::EventHand
|
|
// List of host extensions.
|
|
std::vector<std::unique_ptr<HostExtension>> extensions_;
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
// IPC server that runs the CRD host service API. Non-null if the server name
|
|
// is set and the host is started.
|
|
// Currently only Linux runs the ChromotingHostServices server on the host
|