$OpenBSD: patch-ui_base_l10n_l10n_util_cc,v 1.10 2013/07/15 14:59:30 robert Exp $
--- ui/base/l10n/l10n_util.cc.orig.port	Wed Jun 12 09:29:54 2013
+++ ui/base/l10n/l10n_util.cc	Sun Jul  7 15:54:58 2013
@@ -35,7 +35,7 @@
 #include "ui/base/l10n/l10n_util_android.h"
 #endif
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 #include <glib.h>
 #endif
 
@@ -465,7 +465,7 @@ std::string GetApplicationLocale(const std::string& pr
   // On Android, query java.util.Locale for the default locale.
   candidates.push_back(GetDefaultLocale());
 
-#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
