[Avida-SVN] r3489 - development/source/platform/tcmalloc-1.4

brysonda at myxo.css.msu.edu brysonda at myxo.css.msu.edu
Wed Oct 14 21:12:41 PDT 2009


Author: brysonda
Date: 2009-10-15 00:12:41 -0400 (Thu, 15 Oct 2009)
New Revision: 3489

Modified:
   development/source/platform/tcmalloc-1.4/malloc_extension.cc
Log:
Small fix to malloc_extension.cc. Rodan's version of linux apparently stashes setenv in a location not included by the previously included set.  Added stdlib.h include to fix the problem.

Modified: development/source/platform/tcmalloc-1.4/malloc_extension.cc
===================================================================
--- development/source/platform/tcmalloc-1.4/malloc_extension.cc	2009-10-15 03:54:45 UTC (rev 3488)
+++ development/source/platform/tcmalloc-1.4/malloc_extension.cc	2009-10-15 04:12:41 UTC (rev 3489)
@@ -59,6 +59,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdio.h>
+#include <stdlib.h>
 #if defined HAVE_STDINT_H
 #include <stdint.h>
 #elif defined HAVE_INTTYPES_H




More information about the Avida-cvs mailing list