mesa: Fix Mac OS build.
strtod_l needs the xlocale.h header on Mac OS. It's possible other non-Linux OSes would need this header too.
This commit is contained in:
parent
16e21191e2
commit
ca940a73a7
|
@ -50,6 +50,9 @@
|
|||
|
||||
#ifdef _GNU_SOURCE
|
||||
#include <locale.h>
|
||||
#ifdef __APPLE__
|
||||
#include <xlocale.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue