--- libexslt/date.c.org	2004-04-30 17:59:13.000000000 -0500
+++ libexslt/date.c	2004-04-30 18:08:19.000000000 -0500
@@ -29,8 +29,10 @@
 #endif
 
 #if HAVE_LOCALTIME_R	/* _POSIX_SOURCE required by gnu libc */
+#ifndef _AIX51		/* but on AIX we're not using gnu libc */
 #define _POSIX_SOURCE
 #endif
+#endif
 
 #include <libxml/tree.h>
 #include <libxml/xpath.h>
