THRIFT-874. Include missing time.h in two compiler files
authorDavid Reiss <dreiss@apache.org>
Tue, 31 Aug 2010 16:51:30 +0000 (16:51 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 31 Aug 2010 16:51:30 +0000 (16:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991255 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/src/generate/t_st_generator.cc
compiler/cpp/src/main.cc

index a7acf15..d94a563 100644 (file)
@@ -27,6 +27,7 @@
 #include <vector>
 
 #include <stdlib.h>
+#include <time.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sstream>
index 512245b..c7b1510 100644 (file)
@@ -31,6 +31,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdarg.h>
+#include <time.h>
 #include <string>
 #include <algorithm>
 #include <sys/types.h>