$OpenBSD: patch-remoting_host_it2me_it2me_native_messaging_host_main_cc,v 1.3 2018/03/12 13:48:34 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
@@ -25,7 +25,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"
@@ -102,7 +102,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();
 
