Index: src/lx2_str.h
--- src/lx2_str.h.orig	2005-03-10 21:54:45 +0100
+++ src/lx2_str.h	2006-03-04 10:12:51 +0100
@@ -72,7 +72,7 @@
 // Provide std::char_traits specialization.
 namespace std
 {
-    struct LIBXMLDIFF_API char_traits<xmlChar>
+    template <> struct LIBXMLDIFF_API char_traits<xmlChar>
     {
         typedef xmlChar             char_type;
         // NB: this type should be bigger than xmlChar, so as to
