aboutsummaryrefslogtreecommitdiffstats
path: root/globals.c
diff options
context:
space:
mode:
Diffstat (limited to 'globals.c')
-rw-r--r--globals.c6
1 files changed, 4 insertions, 2 deletions
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
*/