Include cstdio to get EOF, needed with gcc-4.4.
llvm-svn: 73879
diff --git a/llvm/tools/llvm-mc/AsmLexer.cpp b/llvm/tools/llvm-mc/AsmLexer.cpp
index 36faeb3..0828594 100644
--- a/llvm/tools/llvm-mc/AsmLexer.cpp
+++ b/llvm/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 @@
// Forward/backward labels: [0-9][fb]
// Integers, fp constants, character constants.
}
-}
\ No newline at end of file
+}