summaryrefslogtreecommitdiffstats
path: root/Source/cmCreateTestSourceList.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-07-31 13:29:58 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-07-31 13:29:58 (GMT)
commit843616ec7e4653e9cb783ffdbbb5cc3d9c5f586f (patch)
treed597fb22c644c348132634fa95e560a15538c7ce /Source/cmCreateTestSourceList.cxx
parent9ca602e18e028d4e570d81fdee648a14b0d9d67b (diff)
downloadCMake-843616ec7e4653e9cb783ffdbbb5cc3d9c5f586f.zip
CMake-843616ec7e4653e9cb783ffdbbb5cc3d9c5f586f.tar.gz
CMake-843616ec7e4653e9cb783ffdbbb5cc3d9c5f586f.tar.bz2
FIX: <stdlib.h> is enough to get malloc()/free()
Diffstat (limited to 'Source/cmCreateTestSourceList.cxx')
-rw-r--r--Source/cmCreateTestSourceList.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index 464400a..b61c8f7 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -96,7 +96,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)
"#include <ctype.h>\n"
"#include <stdio.h>\n"
"#include <string.h>\n"
- "#include <malloc.h>\n";
+ "#include <stdlib.h>\n";
if(extraInclude.size())
{
fout << "#include \"" << extraInclude << "\"\n";