--- ./common/src/Locale.cc.orig	2015-11-02 15:03:27.293941445 -0500
+++ ./common/src/Locale.cc	2015-11-02 15:07:49.600944461 -0500
@@ -256,7 +256,7 @@
     }
 #endif
 
-#ifdef PLATFORM_OS_UNIX
+#if defined(PLATFORM_OS_UNIX) && defined(__GLIBC__)
   union { unsigned int word; char *string; } langinfo;
   gint week_1stday = 0;
   gint first_weekday = 1;
