Browse Source

FIX: <stdlib.h> is enough to get malloc()/free()

Sebastien Barre 23 years ago
parent
commit
843616ec7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmCreateTestSourceList.cxx

+ 1 - 1
Source/cmCreateTestSourceList.cxx

@@ -96,7 +96,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)
     "#include <ctype.h>\n"
     "#include <ctype.h>\n"
     "#include <stdio.h>\n"
     "#include <stdio.h>\n"
     "#include <string.h>\n"
     "#include <string.h>\n"
-    "#include <malloc.h>\n";
+    "#include <stdlib.h>\n";
   if(extraInclude.size())
   if(extraInclude.size())
     {
     {
     fout << "#include \"" << extraInclude << "\"\n";
     fout << "#include \"" << extraInclude << "\"\n";