$OpenBSD: patch-remoting_host_it2me_it2me_native_messaging_host_main_cc,v 1.4 2019/04/17 11:48:54 robert Exp $

Index: remoting/host/it2me/it2me_native_messaging_host_main.cc
--- remoting/host/it2me/it2me_native_messaging_host_main.cc.orig
+++ remoting/host/it2me/it2me_native_messaging_host_main.cc
@@ -27,7 +27,7 @@
 #include "remoting/host/resources.h"
 #include "remoting/host/usage_stats_consent.h"
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 #include <gtk/gtk.h>
 
 #include "base/linux_util.h"
@@ -106,7 +106,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
 
   remoting::LoadResources("");
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // Required in order for us to run multiple X11 threads.
   XInitThreads();
 
