aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--globals.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 82e84dad..73a63138 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,6 @@
-2001-10-13 Jaka Mocnik <jaka@gnu.org>
+Sat Oct 13 14:15:00 CEST 2001 Daniel Veillard <daniel@veillard.com>
- * globals.c: #include stdlib.h and string.h in order to have
- protoypes of memory and str*() routines.
+ * globals.c: added a couple of standard includes.
Sat Oct 13 11:08:20 CEST 2001 Daniel Veillard <daniel@veillard.com>
diff --git a/globals.c b/globals.c
index 2a899e07..69a84f28 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
*/