Add <cstdio> include where needed by gcc-4.4.
Patch by Samuel Tardieu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57291 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/InstrEnumEmitter.cpp b/utils/TableGen/InstrEnumEmitter.cpp
index df07119..4b4791b 100644
--- a/utils/TableGen/InstrEnumEmitter.cpp
+++ b/utils/TableGen/InstrEnumEmitter.cpp
@@ -15,6 +15,7 @@
#include "InstrEnumEmitter.h"
#include "CodeGenTarget.h"
#include "Record.h"
+#include <cstdio>
using namespace llvm;
// runEnums - Print out enum values for all of the instructions.
diff --git a/utils/TableGen/TGLexer.cpp b/utils/TableGen/TGLexer.cpp
index a6de239..e7465de 100644
--- a/utils/TableGen/TGLexer.cpp
+++ b/utils/TableGen/TGLexer.cpp
@@ -17,6 +17,7 @@
#include <ostream>
#include "llvm/Config/config.h"
#include <cctype>
+#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace llvm;