--- ./src/framework/mlt_property.h.orig
+++ ./src/framework/mlt_property.h
@@ -30,8 +30,8 @@
 #include <sys/param.h>
 #endif
 
-#if defined(__GLIBC__) || defined(__APPLE__) || (__FreeBSD_version >= 900506)
-#include <xlocale.h>
+#if defined(__linux__) || defined(__APPLE__) || (__FreeBSD_version >= 900506)
+#include <locale.h>
 #else
 typedef char* locale_t;
 #endif
