$OpenBSD: patch-ui_base_l10n_l10n_util_cc,v 1.5 2012/07/10 09:22:34 robert Exp $
--- ui/base/l10n/l10n_util.cc.orig	Sat Jul  7 12:46:25 2012
+++ ui/base/l10n/l10n_util.cc	Sat Jul  7 13:01:04 2012
@@ -33,7 +33,7 @@
 #include "base/android/locale_utils.h"
 #endif
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 #include <glib.h>
 #endif
 
@@ -417,7 +417,7 @@ std::string GetApplicationLocale(const std::string& pr
   if (!pref_locale.empty())
     candidates.push_back(pref_locale);
 
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
   // If we're on a different Linux system, we have glib.
 
   // GLib implements correct environment variable parsing with
