THRIFT-3123: Missing include added to compiler/cpp/src/main.h
Patch: David Ehrmann
Client: all
This closes #477
diff --git a/compiler/cpp/src/main.h b/compiler/cpp/src/main.h
index a4f81b3..cd4b032 100644
--- a/compiler/cpp/src/main.h
+++ b/compiler/cpp/src/main.h
@@ -21,7 +21,10 @@
#define T_MAIN_H
#include <string>
+#include <cstdio>
+
#include "logging.h"
+
#include "parse/t_const.h"
#include "parse/t_field.h"
@@ -99,6 +102,6 @@
extern int yylineno;
extern char yytext[];
-extern FILE* yyin;
+extern std::FILE* yyin;
#endif