--- libxml2-2.4.24/new	Mon Aug 26 09:56:03 2002
+++ libxml2-2.4.24/xpath.c	Mon Aug 26 09:56:13 2002
@@ -2839,7 +2839,7 @@
  *
  * Returns the value or NULL if not found
  */
-const xmlChar *
+xmlChar *
 xmlXPathNsLookup(xmlXPathContextPtr ctxt, const xmlChar *prefix) {
     if (ctxt == NULL)
 	return(NULL);
--- libxml2-2.4.24/include/libxml/new	Mon Aug 26 09:57:16 2002
+++ libxml2-2.4.24/include/libxml/parser.h	Mon Aug 26 09:57:21 2002
@@ -678,11 +678,11 @@
 xmlChar *	xmlStrsub		(const xmlChar *str,
 					 int start,
 					 int len);
-const xmlChar *	xmlStrchr		(const xmlChar *str,
+xmlChar *	xmlStrchr		(const xmlChar *str,
 					 xmlChar val);
-const xmlChar *	xmlStrstr		(const xmlChar *str,
+xmlChar *	xmlStrstr		(const xmlChar *str,
 					 const xmlChar *val);
-const xmlChar *	xmlStrcasestr		(const xmlChar *str,
+xmlChar *	xmlStrcasestr		(const xmlChar *str,
 					 xmlChar *val);
 int		xmlStrcmp		(const xmlChar *str1,
 					 const xmlChar *str2);
--- libxml2-2.4.24/include/libxml/new1	Mon Aug 26 09:59:43 2002
+++ libxml2-2.4.24/include/libxml/xpathInternals.h	Mon Aug 26 09:59:46 2002
@@ -422,7 +422,7 @@
 int		   xmlXPathRegisterNs		(xmlXPathContextPtr ctxt,
 						 const xmlChar *prefix,
 						 const xmlChar *ns_uri);
-const xmlChar *	   xmlXPathNsLookup		(xmlXPathContextPtr ctxt,
+xmlChar *	   xmlXPathNsLookup		(xmlXPathContextPtr ctxt,
 						 const xmlChar *prefix);
 void		   xmlXPathRegisteredNsCleanup	(xmlXPathContextPtr ctxt);
 
--- libxml2-2.4.24/new1	Mon Aug 26 10:02:03 2002
+++ libxml2-2.4.24/nanohttp.c	Mon Aug 26 10:02:27 2002
@@ -41,7 +41,9 @@
 #endif
 #ifdef HAVE_RESOLV_H
 #ifdef HAVE_ARPA_NAMESER_H
-#include <arpa/nameser.h>
+#if defined(_AIX) && !defined(_AIX51)
+  #include <arpa/nameser.h>
+#endif
 #endif
 #include <resolv.h>
 #endif
