diff options
-rw-r--r-- | lib/cpp/src/thrift/async/TAsyncBufferProcessor.h | 1 | ||||
-rw-r--r-- | lib/cpp/src/thrift/async/TAsyncProcessor.h | 4 | ||||
-rw-r--r-- | lib/cpp/src/thrift/concurrency/FunctionRunner.h | 4 | ||||
-rw-r--r-- | lib/cpp/src/thrift/transport/TBufferTransports.cpp | 3 | ||||
-rw-r--r-- | lib/cpp/src/thrift/transport/TServerSocket.h | 2 |
5 files changed, 11 insertions, 3 deletions
diff --git a/lib/cpp/src/thrift/async/TAsyncBufferProcessor.h b/lib/cpp/src/thrift/async/TAsyncBufferProcessor.h index e3c3597c2..87095160b 100644 --- a/lib/cpp/src/thrift/async/TAsyncBufferProcessor.h +++ b/lib/cpp/src/thrift/async/TAsyncBufferProcessor.h @@ -20,6 +20,7 @@ #ifndef _THRIFT_TASYNC_BUFFER_PROCESSOR_H_ #define _THRIFT_TASYNC_BUFFER_PROCESSOR_H_ 1 +#include <functional> #include <memory> #include <thrift/transport/TBufferTransports.h> diff --git a/lib/cpp/src/thrift/async/TAsyncProcessor.h b/lib/cpp/src/thrift/async/TAsyncProcessor.h index 019233945..1c927fad1 100644 --- a/lib/cpp/src/thrift/async/TAsyncProcessor.h +++ b/lib/cpp/src/thrift/async/TAsyncProcessor.h @@ -20,9 +20,11 @@ #ifndef _THRIFT_TASYNCPROCESSOR_H_ #define _THRIFT_TASYNCPROCESSOR_H_ 1 -#include <thrift/protocol/TProtocol.h> +#include <functional> #include <memory> + #include <thrift/TProcessor.h> +#include <thrift/protocol/TProtocol.h> namespace apache { namespace thrift { diff --git a/lib/cpp/src/thrift/concurrency/FunctionRunner.h b/lib/cpp/src/thrift/concurrency/FunctionRunner.h index 468834416..35343301f 100644 --- a/lib/cpp/src/thrift/concurrency/FunctionRunner.h +++ b/lib/cpp/src/thrift/concurrency/FunctionRunner.h @@ -20,9 +20,11 @@ #ifndef _THRIFT_CONCURRENCY_FUNCTION_RUNNER_H #define _THRIFT_CONCURRENCY_FUNCTION_RUNNER_H 1 -#include <thrift/concurrency/Thread.h> +#include <functional> #include <memory> +#include <thrift/concurrency/Thread.h> + namespace apache { namespace thrift { namespace concurrency { diff --git a/lib/cpp/src/thrift/transport/TBufferTransports.cpp b/lib/cpp/src/thrift/transport/TBufferTransports.cpp index 45c0c9bf9..efca5bd01 100644 --- a/lib/cpp/src/thrift/transport/TBufferTransports.cpp +++ b/lib/cpp/src/thrift/transport/TBufferTransports.cpp @@ -17,8 +17,9 @@ * under the License. */ -#include <cassert> #include <algorithm> +#include <cassert> +#include <cmath> #include <thrift/transport/TBufferTransports.h> diff --git a/lib/cpp/src/thrift/transport/TServerSocket.h b/lib/cpp/src/thrift/transport/TServerSocket.h index c87a7f65b..e826707ac 100644 --- a/lib/cpp/src/thrift/transport/TServerSocket.h +++ b/lib/cpp/src/thrift/transport/TServerSocket.h @@ -20,6 +20,8 @@ #ifndef _THRIFT_TRANSPORT_TSERVERSOCKET_H_ #define _THRIFT_TRANSPORT_TSERVERSOCKET_H_ 1 +#include <functional> + #include <thrift/concurrency/Mutex.h> #include <thrift/transport/PlatformSocket.h> #include <thrift/transport/TServerTransport.h> |