--- a/ext/standard/string.c.orig	2007-12-31 01:22:53.000000000 -0600
+++ b/ext/standard/string.c	2010-06-02 01:41:51.000000000 -0500
@@ -39,6 +39,9 @@
 #endif
 #ifdef HAVE_LIBINTL
 # include <libintl.h> /* for LC_MESSAGES */
+ #ifdef setlocale
+ # undef setlocale /* Uh, libintl, don't F* our symbols please */
+ #endif
 #endif
 #include "scanf.h"
 #include "zend_API.h"
