--- include/libxml/xmlexports.h.orig	2010-10-12 08:25:32.000000000 +0200
+++ include/libxml/xmlexports.h	2012-01-06 20:12:26.553304833 +0100
@@ -115,7 +115,7 @@
    */
   #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
     #define XMLPUBFUN __declspec(dllexport)
-    #define XMLPUBVAR __declspec(dllexport)
+    #define XMLPUBVAR __declspec(dllexport) extern
   #else
     #define XMLPUBFUN
     #if !defined(LIBXML_STATIC)
