Code

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