$OpenBSD: patch-gpu_ipc_service_gpu_watchdog_thread_h,v 1.21 2021/11/16 11:28:47 robert Exp $

Index: gpu/ipc/service/gpu_watchdog_thread.h
--- gpu/ipc/service/gpu_watchdog_thread.h.orig
+++ gpu/ipc/service/gpu_watchdog_thread.h
@@ -194,7 +194,7 @@ class GPU_IPC_SERVICE_EXPORT GpuWatchdogThread
   bool WithinOneMinFromPowerResumed();
   bool WithinOneMinFromForegrounded();
 
-#if defined(USE_X11)
+#if defined(USE_X11) && !defined(OS_BSD)
   void UpdateActiveTTY();
 #endif
   // The watchdog continues when it's not on the TTY of our host X11 server.
@@ -266,7 +266,7 @@ class GPU_IPC_SERVICE_EXPORT GpuWatchdogThread
   bool less_than_full_thread_time_after_capped_ = false;
 #endif
 
-#if defined(USE_X11)
+#if defined(USE_X11) && !defined(OS_BSD)
   FILE* tty_file_ = nullptr;
   int host_tty_ = -1;
   int active_tty_ = -1;
