From 66b9f29df22a84f25007c1a84b4d0bb8060552b9 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 22 Jun 2009 06:59:32 +0000 Subject: [PATCH] Include cstdio to get EOF, needed with gcc-4.4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73879 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-mc/AsmLexer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/llvm-mc/AsmLexer.cpp b/tools/llvm-mc/AsmLexer.cpp index 36faeb3facf..0828594a35b 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 +#include #include 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 +} -- 2.34.1