| Index: ui/base/l10n/l10n_util.cc
|
| diff --git a/ui/base/l10n/l10n_util.cc b/ui/base/l10n/l10n_util.cc
|
| index 704696934cc68f8f1e9c6b0a1e9d5b8f49b864e2..9803eed2cf889b0b4ce62fd330c94287895887a0 100644
|
| --- a/ui/base/l10n/l10n_util.cc
|
| +++ b/ui/base/l10n/l10n_util.cc
|
| @@ -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& pref_locale) {
|
| // 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
|
|
|