commit | c7140e9bd9a1de4d488895d9c92d955cb73444c2 | [log] [tgz] |
---|---|---|
author | Nick Hildenbrandt <hldnbrnd@uiuc.edu> | Fri Oct 11 18:41:44 2002 +0000 |
committer | Nick Hildenbrandt <hldnbrnd@uiuc.edu> | Fri Oct 11 18:41:44 2002 +0000 |
tree | 0558ec857599867ad3ca211ff60ccf26eabf42d6 | |
parent | cb202e3de51a82d72bc88823199f5cdcc1ceae2c [diff] [blame] |
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
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 51a3d16..2c6d855 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp
@@ -514,7 +514,7 @@ } // printing stdlib inclusion - // Out << "#include <stdlib.h>\n"; + Out << "#include <stdlib.h>\n"; // get declaration for alloca Out << "/* Provide Declarations */\n"