Repository: thrift
Updated Branches:
  refs/heads/master 9e78ed81a -> de7cf5df9


THRIFT-3123: Missing include added to compiler/cpp/src/main.h

Patch: David Ehrmann
Client: all

This closes #477


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/13699f87
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/13699f87
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/13699f87

Branch: refs/heads/master
Commit: 13699f878a747abf13bbb397ff7de19ed8779399
Parents: 9e78ed8
Author: Konrad Grochowski <[email protected]>
Authored: Mon May 4 11:21:22 2015 +0200
Committer: Konrad Grochowski <[email protected]>
Committed: Mon May 4 11:21:22 2015 +0200

----------------------------------------------------------------------
 compiler/cpp/src/main.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/13699f87/compiler/cpp/src/main.h
----------------------------------------------------------------------
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 @@ void check_for_list_of_bytes(t_type* list_elem_type);
 
 extern int yylineno;
 extern char yytext[];
-extern FILE* yyin;
+extern std::FILE* yyin;
 
 #endif

Reply via email to