include stdlib since putenv is in there on solaris
[rrdtool.git] / src / rrd_cgi.c
index ec0c140..fba2204 100644 (file)
@@ -5,7 +5,9 @@
  *****************************************************************************/
 
 #include "rrd_tool.h"
-
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 
 #define MEMBLK 1024
 /*#define DEBUG_PARSER