Include cstdio to get EOF, needed with gcc-4.4.
authorDuncan Sands <baldrick@free.fr>
Mon, 22 Jun 2009 06:59:32 +0000 (06:59 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 22 Jun 2009 06:59:32 +0000 (06:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73879 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-mc/AsmLexer.cpp

index 36faeb3facf8f5a2158d14989a037be42153f7bd..0828594a35b5e640d55314a3b74d03b7b87191b1 100644 (file)
@@ -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
+}