commit | 5ad126044d56e0277c9ad31998777e04ae82eb42 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Tue Aug 31 16:51:30 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Tue Aug 31 16:51:30 2010 +0000 |
tree | cedb1289aa1b81171e0e8d2a6bd97858deb5bd6e | |
parent | 4563acdd236da80f2cadc2ba548d05c10f5b2998 [diff] |
THRIFT-874. Include missing time.h in two compiler files git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991255 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/generate/t_st_generator.cc b/compiler/cpp/src/generate/t_st_generator.cc index a7acf15..d94a563 100644 --- a/compiler/cpp/src/generate/t_st_generator.cc +++ b/compiler/cpp/src/generate/t_st_generator.cc
@@ -27,6 +27,7 @@ #include <vector> #include <stdlib.h> +#include <time.h> #include <sys/stat.h> #include <sys/types.h> #include <sstream>
diff --git a/compiler/cpp/src/main.cc b/compiler/cpp/src/main.cc index 512245b..c7b1510 100644 --- a/compiler/cpp/src/main.cc +++ b/compiler/cpp/src/main.cc
@@ -31,6 +31,7 @@ #include <stdlib.h> #include <stdio.h> #include <stdarg.h> +#include <time.h> #include <string> #include <algorithm> #include <sys/types.h>