$OpenBSD: patch-chrome_app_chrome_main_cc,v 1.18 2021/04/01 10:24:44 robert Exp $

Index: chrome/app/chrome_main.cc
--- chrome/app/chrome_main.cc.orig
+++ chrome/app/chrome_main.cc
@@ -120,7 +120,7 @@ int ChromeMain(int argc, const char** argv) {
 
   // Chrome-specific process modes.
 #if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || \
-    defined(OS_WIN)
+    defined(OS_WIN) || defined(OS_BSD)
   if (command_line->HasSwitch(switches::kHeadless)) {
     return headless::HeadlessShellMain(params);
   }
