$OpenBSD: patch-chrome_browser_ui_startup_startup_browser_creator_cc,v 1.33 2019/09/23 07:18:04 robert Exp $
Index: chrome/browser/ui/startup/startup_browser_creator.cc
--- chrome/browser/ui/startup/startup_browser_creator.cc.orig
+++ chrome/browser/ui/startup/startup_browser_creator.cc
@@ -85,7 +85,7 @@
 #include "chrome/browser/ui/user_manager.h"
 #endif
 
-#if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
+#if defined(TOOLKIT_VIEWS) && (defined(OS_LINUX) || defined(OS_BSD))
 #include "ui/events/devices/x11/touch_factory_x11.h"  // nogncheck
 #endif
 
@@ -296,7 +296,7 @@ bool IsSilentLaunchEnabled(const base::CommandLine& co
 // true, send a warning if guest mode is requested but not allowed by policy.
 bool IsGuestModeEnforced(const base::CommandLine& command_line,
                          bool show_warning) {
-#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_MACOSX)
+#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_BSD)
   PrefService* service = g_browser_process->local_state();
   DCHECK(service);
 
