From: David Reiss Date: Thu, 21 May 2009 02:28:27 +0000 (+0000) Subject: cpp: Add some missing includes to fix OpenBSD compilation X-Git-Tag: 0.2.0~105 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=5105b2e79d21204d13f2351dc6b973061e66b215;p=common%2Fthrift.git cpp: Add some missing includes to fix OpenBSD compilation git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@776929 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h index 859fbaf5..a98dab6b 100644 --- a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h +++ b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h @@ -24,6 +24,7 @@ #include #include +#include #include #include diff --git a/lib/cpp/src/server/TNonblockingServer.h b/lib/cpp/src/server/TNonblockingServer.h index 1684b64a..8506507d 100644 --- a/lib/cpp/src/server/TNonblockingServer.h +++ b/lib/cpp/src/server/TNonblockingServer.h @@ -28,6 +28,7 @@ #include #include #include +#include #include namespace apache { namespace thrift { namespace server { diff --git a/lib/cpp/src/transport/TFileTransport.h b/lib/cpp/src/transport/TFileTransport.h index fbaf2cd0..b08c5c8b 100644 --- a/lib/cpp/src/transport/TFileTransport.h +++ b/lib/cpp/src/transport/TFileTransport.h @@ -27,6 +27,8 @@ #include #include +#include + #include namespace apache { namespace thrift { namespace transport { diff --git a/lib/cpp/src/transport/TServerSocket.cpp b/lib/cpp/src/transport/TServerSocket.cpp index 9b47aa53..10d3e9ee 100644 --- a/lib/cpp/src/transport/TServerSocket.cpp +++ b/lib/cpp/src/transport/TServerSocket.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include "TSocket.h" #include "TServerSocket.h"