From: Fabian Vogt Subject: Force use of strtod_l and friends Patch-mainline: never References: boo#1055929 With glibc 2.26, xlocale.h got removed, but the used functions are available as part of local.h since POSIX2008, so use them unconditionally. This is necessary to fix strod with non-EN locales. Index: mesa-17.1.6/src/util/strtod.c =================================================================== --- mesa-17.1.6.orig/src/util/strtod.c +++ mesa-17.1.6/src/util/strtod.c @@ -28,11 +28,9 @@ #ifdef _GNU_SOURCE #include -#ifdef HAVE_XLOCALE_H -#include +#define HAVE_XLOCALE_H static locale_t loc; #endif -#endif #include "strtod.h"