hopefully fix the build on linux.
authorChris Lattner <sabre@nondot.org>
Sun, 21 Jun 2009 19:43:50 +0000 (19:43 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 21 Jun 2009 19:43:50 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73857 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-mc/AsmLexer.cpp

index 578eec18526a86a6a339dffd18b552508a247e16..4a68d0d354c8571c49b12b477eb9c3d6f9e59e61 100644 (file)
@@ -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) {