summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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