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:
Vinson Lee 2009-10-20 10:43:46 -06:00 committed by Brian Paul
parent 16e21191e2
commit ca940a73a7
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@
#ifdef _GNU_SOURCE
#include <locale.h>
#ifdef __APPLE__
#include <xlocale.h>
#endif
#endif