You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2010/08/31 18:51:30 UTC

svn commit: r991255 - in /incubator/thrift/trunk/compiler/cpp/src: generate/t_st_generator.cc main.cc

Author: dreiss
Date: Tue Aug 31 16:51:30 2010
New Revision: 991255

URL: http://svn.apache.org/viewvc?rev=991255&view=rev
Log:
THRIFT-874. Include missing time.h in two compiler files

Modified:
    incubator/thrift/trunk/compiler/cpp/src/generate/t_st_generator.cc
    incubator/thrift/trunk/compiler/cpp/src/main.cc

Modified: incubator/thrift/trunk/compiler/cpp/src/generate/t_st_generator.cc
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/compiler/cpp/src/generate/t_st_generator.cc?rev=991255&r1=991254&r2=991255&view=diff
==============================================================================
--- incubator/thrift/trunk/compiler/cpp/src/generate/t_st_generator.cc (original)
+++ incubator/thrift/trunk/compiler/cpp/src/generate/t_st_generator.cc Tue Aug 31 16:51:30 2010
@@ -27,6 +27,7 @@
 #include <vector>
 
 #include <stdlib.h>
+#include <time.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sstream>

Modified: incubator/thrift/trunk/compiler/cpp/src/main.cc
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/compiler/cpp/src/main.cc?rev=991255&r1=991254&r2=991255&view=diff
==============================================================================
--- incubator/thrift/trunk/compiler/cpp/src/main.cc (original)
+++ incubator/thrift/trunk/compiler/cpp/src/main.cc Tue Aug 31 16:51:30 2010
@@ -31,6 +31,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdarg.h>
+#include <time.h>
 #include <string>
 #include <algorithm>
 #include <sys/types.h>