Explorar el Código

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

Sebastien Barre hace 23 años
padre
commit
843616ec7e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 <stdio.h>\n"
     "#include <string.h>\n"
-    "#include <malloc.h>\n";
+    "#include <stdlib.h>\n";
   if(extraInclude.size())
     {
     fout << "#include \"" << extraInclude << "\"\n";