aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-mc/AsmLexer.cpp
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
commit4506bd2cfd3e75535670890031eec26e216993b8 (patch)
tree52d3ef8a0ff39dac69fd10554fb8f9a976b11e34 /tools/llvm-mc/AsmLexer.cpp
parent4226bb02fb623e2aa39cad819140df541f95bd8b (diff)
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/llvm-mc/AsmLexer.cpp')
-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 578eec1852..4a68d0d354 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) {