Ready for 1.7.0, major changes, nanohttp, cleanup, binary compat with 1.4,
etc... See Changelog, Daniel.
diff --git a/entities.c b/entities.c
index 24c770c..fe706ea 100644
--- a/entities.c
+++ b/entities.c
@@ -6,9 +6,15 @@
  * Daniel.Veillard@w3.org
  */
 
+#ifndef WIN32
+#include "config.h"
+#endif
+
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 #include "xmlmemory.h"
 #include "entities.h"