summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-10-20 10:43:46 -0600
committerBrian Paul <[email protected]>2009-10-20 10:43:49 -0600
commitca940a73a72c68c461344d27f9d1fac31cd73819 (patch)
treec4d454827322bba01d4d61c5f09ad2d596de4e88 /src
parent16e21191e26084848c7e6e3ffd9e15ef670855c5 (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')
-rw-r--r--src/mesa/main/imports.c3
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