Enable __locale to work on FreeBSD.

llvm-svn: 140005
diff --git a/libcxx/include/__locale b/libcxx/include/__locale
index 3f669d6..4099aa7 100644
--- a/libcxx/include/__locale
+++ b/libcxx/include/__locale
@@ -308,7 +308,7 @@
     typedef __uint32_t mask;
 #endif
 
-#if __APPLE__
+#if __APPLE__ || __FreeBSD__
     static const mask space  = _CTYPE_S;
     static const mask print  = _CTYPE_R;
     static const mask cntrl  = _CTYPE_C;