added a couple of standard includes. Daniel

* globals.c: added a couple of standard includes.
Daniel
diff --git a/globals.c b/globals.c
index 2a899e0..69a84f2 100644
--- a/globals.c
+++ b/globals.c
@@ -13,11 +13,13 @@
 
 #include "libxml.h"
 
-#include <libxml/xmlmemory.h>
-
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
+#endif
 #include <string.h>
 
+#include <libxml/xmlmemory.h>
+
 /*
  * Helpful Macro
  */