aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-mc/AsmLexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-mc/AsmLexer.cpp')
-rw-r--r--tools/llvm-mc/AsmLexer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvm-mc/AsmLexer.cpp b/tools/llvm-mc/AsmLexer.cpp
index 36faeb3fac..0828594a35 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 <cstdio>
#include <cstdlib>
using namespace llvm;
@@ -254,4 +255,4 @@ asmtok::TokKind AsmLexer::LexToken() {
// Forward/backward labels: [0-9][fb]
// Integers, fp constants, character constants.
}
-} \ No newline at end of file
+}