[Mesa-dev] [PATCH] scons: Check for xlocale.h before defining HAVE_XLOCALE_H.

Emil Velikov emil.l.velikov at gmail.com
Thu Jul 6 09:38:34 UTC 2017


On 5 July 2017 at 22:25, Vinson Lee <vlee at freedesktop.org> wrote:
> glibc 2.26 removed xlocale.h.
> https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27
>
> Fix this build error with glibc 2.26.
>
>   Compiling src/util/strtod.c ...
> src/util/strtod.c:32:10: fatal error: xlocale.h: No such file or directory
>  #include <xlocale.h>
>           ^~~~~~~~~~~
>
Please add anything alike
"Don't assume the header is present on some platforms - use the more
robust CheckHeader() instead."

> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101657
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

Thanks
Emil


More information about the mesa-dev mailing list