commit | 739cbe2b86c8b4a50f3305f7edefd142cad423f8 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Tue Apr 15 05:44:00 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Tue Apr 15 05:44:00 2008 +0000 |
tree | 3c1a93c3326e66bfaf5cad0e74f32e4abafee4a5 | |
parent | a1771097520d57cd84dcd5e06df6e5e4fae5e5c1 [diff] |
Add a few missing includes. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665657 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/main.cc b/compiler/cpp/src/main.cc index abd6a36..efee937 100644 --- a/compiler/cpp/src/main.cc +++ b/compiler/cpp/src/main.cc
@@ -20,6 +20,7 @@ #include <stdio.h> #include <stdarg.h> #include <string> +#include <algorithm> #include <sys/types.h> #include <sys/stat.h> #include <errno.h>
diff --git a/lib/cpp/src/transport/TFileTransport.cpp b/lib/cpp/src/transport/TFileTransport.cpp index 41c6005..6879079 100644 --- a/lib/cpp/src/transport/TFileTransport.cpp +++ b/lib/cpp/src/transport/TFileTransport.cpp
@@ -24,6 +24,7 @@ #include <strings.h> #endif #include <cstdlib> +#include <cstring> #include <iostream> #include <sys/stat.h>
diff --git a/lib/cpp/src/transport/TTransportUtils.h b/lib/cpp/src/transport/TTransportUtils.h index 4360f86..6c7e4db 100644 --- a/lib/cpp/src/transport/TTransportUtils.h +++ b/lib/cpp/src/transport/TTransportUtils.h
@@ -8,6 +8,7 @@ #define _THRIFT_TRANSPORT_TTRANSPORTUTILS_H_ 1 #include <cstdlib> +#include <cstring> #include <string> #include <algorithm> #include <transport/TTransport.h>
diff --git a/lib/cpp/src/transport/TZlibTransport.cpp b/lib/cpp/src/transport/TZlibTransport.cpp index c9acc24..c14b039 100644 --- a/lib/cpp/src/transport/TZlibTransport.cpp +++ b/lib/cpp/src/transport/TZlibTransport.cpp
@@ -5,6 +5,7 @@ // http://developers.facebook.com/thrift/ #include <cassert> +#include <cstring> #include <algorithm> #include <transport/TZlibTransport.h> #include <zlib.h>