diff options
author | Nick Hildenbrandt <hldnbrnd@uiuc.edu> | 2002-10-11 18:41:44 +0000 |
---|---|---|
committer | Nick Hildenbrandt <hldnbrnd@uiuc.edu> | 2002-10-11 18:41:44 +0000 |
commit | c7140e9bd9a1de4d488895d9c92d955cb73444c2 (patch) | |
tree | 0558ec857599867ad3ca211ff60ccf26eabf42d6 /lib/Target/CBackend/CBackend.cpp | |
parent | cb202e3de51a82d72bc88823199f5cdcc1ceae2c (diff) |
Sun requires you to include stdlib to use malloc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 51a3d168c1..2c6d855ae7 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -514,7 +514,7 @@ void CWriter::printModule(Module *M) { } // printing stdlib inclusion - // Out << "#include <stdlib.h>\n"; + Out << "#include <stdlib.h>\n"; // get declaration for alloca Out << "/* Provide Declarations */\n" |