$OpenBSD: patch-base_syslog_logging_cc,v 1.1 2019/09/23 07:18:03 robert Exp $

Index: base/syslog_logging.cc
--- base/syslog_logging.cc.orig
+++ base/syslog_logging.cc
@@ -11,7 +11,7 @@
 #include "base/callback_helpers.h"
 #include "base/debug/stack_trace.h"
 #include "base/win/win_util.h"
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
 // <syslog.h> defines LOG_INFO, LOG_WARNING macros that could conflict with
 // base::LOG_INFO, base::LOG_WARNING.
 #include <syslog.h>
@@ -110,7 +110,7 @@ EventLogMessage::~EventLogMessage() {
 
   if (user_sid != nullptr)
     ::LocalFree(user_sid);
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
   const char kEventSource[] = "chrome";
   openlog(kEventSource, LOG_NOWAIT | LOG_PID, LOG_USER);
   // We can't use the defined names for the logging severity from syslog.h
