- Fixed bug #4344 - Fixed C++ problems in headers - Released 1.8.1 Daniel

- Fixed bug #4344
- Fixed C++ problems in headers
- Released 1.8.1
Daniel
diff --git a/debugXML.h b/debugXML.h
index b24219a..5bec396 100644
--- a/debugXML.h
+++ b/debugXML.h
@@ -9,6 +9,9 @@
 #define __DEBUG_XML__
 #include "tree.h"
 
+#ifdef __cplusplus
+#define extern "C" {
+#endif
 extern void xmlDebugDumpString(FILE *output, const xmlChar *str);
 extern void xmlDebugDumpAttr(FILE *output, xmlAttrPtr attr, int depth);
 extern void xmlDebugDumpAttrList(FILE *output, xmlAttrPtr attr, int depth);
@@ -17,4 +20,7 @@
 extern void xmlDebugDumpNodeList(FILE *output, xmlNodePtr node, int depth);
 extern void xmlDebugDumpDocument(FILE *output, xmlDocPtr doc);
 extern void xmlDebugDumpEntities(FILE *output, xmlDocPtr doc);
+#ifdef __cplusplus
+}
+#endif
 #endif /* __DEBUG_XML__ */