forked from OSchip/llvm-project
Sun requires you to include stdlib to use malloc
llvm-svn: 4117
This commit is contained in:
parent
3e54d6c3be
commit
8d354423fc
|
@ -514,7 +514,7 @@ void CWriter::printModule(Module *M) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// printing stdlib inclusion
|
// printing stdlib inclusion
|
||||||
// Out << "#include <stdlib.h>\n";
|
Out << "#include <stdlib.h>\n";
|
||||||
|
|
||||||
// get declaration for alloca
|
// get declaration for alloca
|
||||||
Out << "/* Provide Declarations */\n"
|
Out << "/* Provide Declarations */\n"
|
||||||
|
|
Loading…
Reference in New Issue