Code

include stdlib since putenv is in there on solaris
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 8 Dec 2007 21:35:51 +0000 (21:35 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 8 Dec 2007 21:35:51 +0000 (21:35 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1252 a5681a0c-68f1-0310-ab6d-d61299d08faa

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