diff options
author | Vinson Lee <[email protected]> | 2009-10-20 10:43:46 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-20 10:43:49 -0600 |
commit | ca940a73a72c68c461344d27f9d1fac31cd73819 (patch) | |
tree | c4d454827322bba01d4d61c5f09ad2d596de4e88 /src/mesa/main/imports.c | |
parent | 16e21191e26084848c7e6e3ffd9e15ef670855c5 (diff) |
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.
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r-- | src/mesa/main/imports.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 87cb5ce0fbc..30fa55997ef 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -50,6 +50,9 @@ #ifdef _GNU_SOURCE #include <locale.h> +#ifdef __APPLE__ +#include <xlocale.h> +#endif #endif |