aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-21 19:43:50 +0000
committerChris Lattner <sabre@nondot.org>2009-06-21 19:43:50 +0000
commitc3e6b20f087af6412536e5a3fb7c2b819368ef51 (patch)
tree52d3ef8a0ff39dac69fd10554fb8f9a976b11e34 /tools
parent3d11855fad545b529ed71fff32ce5ba50bb4ae97 (diff)
downloadexternal_llvm-c3e6b20f087af6412536e5a3fb7c2b819368ef51.zip
external_llvm-c3e6b20f087af6412536e5a3fb7c2b819368ef51.tar.gz
external_llvm-c3e6b20f087af6412536e5a3fb7c2b819368ef51.tar.bz2
hopefully fix the build on linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-mc/AsmLexer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvm-mc/AsmLexer.cpp b/tools/llvm-mc/AsmLexer.cpp
index 578eec1..4a68d0d 100644
--- a/tools/llvm-mc/AsmLexer.cpp
+++ b/tools/llvm-mc/AsmLexer.cpp
@@ -15,6 +15,7 @@
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/MemoryBuffer.h"
#include <cerrno>
+#include <cstdlib>
using namespace llvm;
AsmLexer::AsmLexer(SourceMgr &SM) : SrcMgr(SM) {