$OpenBSD: patch-chrome_browser_web_applications_web_app_cc,v 1.5 2011/06/08 20:36:56 robert Exp $
--- chrome/browser/web_applications/web_app.cc.orig	Mon Jun  6 11:12:06 2011
+++ chrome/browser/web_applications/web_app.cc	Wed Jun  8 09:58:36 2011
@@ -23,9 +23,9 @@
 #include "chrome/common/url_constants.h"
 #include "content/browser/browser_thread.h"
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
 #include "base/environment.h"
-#endif  // defined(OS_LINUX)
+#endif  // defined(OS_LINUX) || defined(OS_OPENBSD)
 
 #if defined(OS_WIN)
 #include "ui/gfx/icon_util.h"
@@ -221,7 +221,7 @@ void CreateShortcutTask::Run() {
 bool CreateShortcutTask::CreateShortcut() {
   DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
   scoped_ptr<base::Environment> env(base::Environment::Create());
 
   std::string shortcut_template;
