diff --git a/nvme-print.c b/nvme-print.c index 170e5c12fb..5b1f2e827a 100644 --- a/nvme-print.c +++ b/nvme-print.c @@ -797,6 +797,10 @@ static bool is_fahrenheit_country(const char *country) return false; } +#ifndef LC_MEASUREMENT +#define LC_MEASUREMENT LC_ALL +#endif + static bool is_temperature_fahrenheit(void) { const char *locale, *underscore;