Module: Mesa Branch: master Commit: ca940a73a72c68c461344d27f9d1fac31cd73819 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca940a73a72c68c461344d27f9d1fac31cd73819
Author: Vinson Lee <[email protected]> Date: Tue Oct 20 10:43:46 2009 -0600 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. --- 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 87cb5ce..30fa559 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 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
