Ready for 1.7.0, major changes, nanohttp, cleanup, binary compat with 1.4,
etc... See Changelog, Daniel.
diff --git a/HTMLtree.c b/HTMLtree.c
index 87363ec..b00c300 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -6,12 +6,20 @@
* Daniel.Veillard@w3.org
*/
+
+#ifndef WIN32
#include "config.h"
+#endif
#include <stdio.h>
-#include <ctype.h>
-#include <stdlib.h>
#include <string.h> /* for memset() only ! */
+#ifdef HAVE_CTYPE_H
+#include <ctype.h>
+#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
#include "xmlmemory.h"
#include "HTMLparser.h"
#include "HTMLtree.h"