Various attemps at trying to bypass this automake bullshit !!! Daniel
Failing too bad no release before next wed I'm seriously pissed, this
bug has been around for more than one year it seems, piece of crap
diff --git a/HTMLparser.c b/HTMLparser.c
index 3212ce5..c9814d5 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -38,14 +38,14 @@
 
 #include <libxml/xmlmemory.h>
 #include <libxml/tree.h>
+#include <libxml/parser.h>
+#include <libxml/parserInternals.h>
+#include <libxml/xml-error.h>
 #include <libxml/HTMLparser.h>
 #include <libxml/entities.h>
 #include <libxml/encoding.h>
-#include <libxml/parser.h>
 #include <libxml/valid.h>
-#include <libxml/parserInternals.h>
 #include <libxml/xmlIO.h>
-#include <libxml/xml-error.h>
 
 #define HTML_MAX_NAMELEN 1000
 #define HTML_PARSER_BIG_BUFFER_SIZE 1000
diff --git a/parser.c b/parser.c
index 1d68e5f..ab7ae81 100644
--- a/parser.c
+++ b/parser.c
@@ -62,13 +62,13 @@
 #include <libxml/xmlmemory.h>
 #include <libxml/tree.h>
 #include <libxml/parser.h>
+#include <libxml/parserInternals.h>
+#include <libxml/xml-error.h>
 #include <libxml/entities.h>
 #include <libxml/encoding.h>
 #include <libxml/valid.h>
-#include <libxml/parserInternals.h>
 #include <libxml/xmlIO.h>
 #include <libxml/uri.h>
-#include <libxml/xml-error.h>
 
 #define XML_PARSER_BIG_BUFFER_SIZE 1000
 #define XML_PARSER_BUFFER_SIZE 100
diff --git a/parserInternals.c b/parserInternals.c
index 98e49cd..727dfeb 100644
--- a/parserInternals.c
+++ b/parserInternals.c
@@ -39,13 +39,14 @@
 #include <libxml/xmlmemory.h>
 #include <libxml/tree.h>
 #include <libxml/parser.h>
+#include <libxml/parserInternals.h>
+#include <libxml/valid.h>
 #include <libxml/entities.h>
+#include <libxml/xml-error.h>
 #include <libxml/encoding.h>
 #include <libxml/valid.h>
-#include <libxml/parserInternals.h>
 #include <libxml/xmlIO.h>
 #include <libxml/uri.h>
-#include <libxml/xml-error.h>
 
 
 /************************************************************************