changed default var export to extern
diff --git a/include/libxml/xmlexports.h b/include/libxml/xmlexports.h
index 17e478a..7dd08bc 100644
--- a/include/libxml/xmlexports.h
+++ b/include/libxml/xmlexports.h
@@ -22,7 +22,7 @@
  */
 
 #define XMLPUBFUN
-#define XMLPUBVAR
+#define XMLPUBVAR extern
 #define XMLCALL
 
 /* Windows platform with MS compiler */