Patch from Albert Chin-A-Young <china@thewrittenword.com>:
- xmllint.c: workaround a MAP_FAILEd definition bug in DU-4.0
Daniel
diff --git a/xmllint.c b/xmllint.c
index b393930..6027d38 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -474,7 +474,7 @@
 	    if ((fd = open(filename, O_RDONLY)) < 0)
 		return;
 	    base = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd, 0) ;
-	    if (base == MAP_FAILED)
+	    if (base == (void *) MAP_FAILED)
 	        return;
 
 	    doc = xmlParseMemory((char *) base, info.st_size);