$OpenBSD: patch-chrome_browser_gpu_process_host_cc,v 1.1 2011/02/08 09:43:02 espie Exp $
--- chrome/browser/gpu_process_host.cc.orig	Fri Jan 21 10:20:26 2011
+++ chrome/browser/gpu_process_host.cc	Sun Jan 23 23:27:31 2011
@@ -28,7 +28,7 @@
 #include "ipc/ipc_switches.h"
 #include "media/base/media_switches.h"
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
 #include <gdk/gdkwindow.h>
 #include <gdk/gdkx.h>
 #include "app/x11_util.h"
@@ -191,7 +191,7 @@ void GpuProcessHost::OnControlMessageReceived(const IP
   IPC_BEGIN_MESSAGE_MAP(GpuProcessHost, message)
     IPC_MESSAGE_HANDLER(GpuHostMsg_ChannelEstablished, OnChannelEstablished)
     IPC_MESSAGE_HANDLER(GpuHostMsg_SynchronizeReply, OnSynchronizeReply)
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
     IPC_MESSAGE_HANDLER_DELAY_REPLY(GpuHostMsg_GetViewXID, OnGetViewXID)
     IPC_MESSAGE_HANDLER(GpuHostMsg_ReleaseXID, OnReleaseXID)
     IPC_MESSAGE_HANDLER_DELAY_REPLY(GpuHostMsg_ResizeXID, OnResizeXID)
@@ -246,7 +246,7 @@ void GpuProcessHost::OnSynchronizeReply() {
   queued_synchronization_replies_.pop();
 }
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
 
 namespace {
 
