--- i18n.hh.orig	2010-06-12 15:20:36.000000000 -0500
+++ i18n.hh	2010-09-21 02:34:55.000000000 -0500
@@ -33,6 +33,10 @@
 
 #include <libintl.h>
 
+#ifdef setlocale
+#undef setlocale
+#endif
+
 static inline const char * _(const char *message_id)
 {
   return gettext(message_id);
