fixed --with-threads compile fixed --without-debug compile cleanup add a
* globals.c: fixed --with-threads compile
* xmllint.c: fixed --without-debug compile
* include/libxml/globals.h: cleanup
* include/libxml/schemasInternals.h: add a missing include
Daniel
diff --git a/xmllint.c b/xmllint.c
index 917a6ed..19fc3ab 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -86,10 +86,10 @@
#include <libxml/xmlreader.h>
#ifdef LIBXML_DEBUG_ENABLED
-static int debug = 0;
static int shell = 0;
static int debugent = 0;
#endif
+static int debug = 0;
static int copy = 0;
static int recovery = 0;
static int noent = 0;
@@ -1132,6 +1132,8 @@
printf("\t--debug : dump a debug tree of the in-memory document\n");
printf("\t--shell : run a navigating shell\n");
printf("\t--debugent : debug the entities defined in the document\n");
+#else
+ printf("\t--debug : dump the nodes content when using --stream\n");
#endif
printf("\t--copy : used to test the internal copy implementation\n");
printf("\t--recover : output what was parsable on broken XML documents\n");