diff options
Diffstat (limited to 'lib/cpp/src/thrift/transport')
-rw-r--r-- | lib/cpp/src/thrift/transport/TFileTransport.cpp | 4 | ||||
-rw-r--r-- | lib/cpp/src/thrift/transport/TPipeServer.cpp | 4 | ||||
-rw-r--r-- | lib/cpp/src/thrift/transport/TSSLSocket.cpp | 5 | ||||
-rw-r--r-- | lib/cpp/src/thrift/transport/TServerSocket.cpp | 5 | ||||
-rw-r--r-- | lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp | 5 | ||||
-rw-r--r-- | lib/cpp/src/thrift/transport/TSocket.cpp | 5 | ||||
-rw-r--r-- | lib/cpp/src/thrift/transport/TSocketPool.cpp | 4 | ||||
-rw-r--r-- | lib/cpp/src/thrift/transport/TTransportException.cpp | 5 |
8 files changed, 12 insertions, 25 deletions
diff --git a/lib/cpp/src/thrift/transport/TFileTransport.cpp b/lib/cpp/src/thrift/transport/TFileTransport.cpp index 258a18ce6..c94ecd201 100644 --- a/lib/cpp/src/thrift/transport/TFileTransport.cpp +++ b/lib/cpp/src/thrift/transport/TFileTransport.cpp @@ -17,9 +17,7 @@ * under the License. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#include <thrift/thrift-config.h> #include <thrift/transport/TFileTransport.h> #include <thrift/transport/TTransportUtils.h> diff --git a/lib/cpp/src/thrift/transport/TPipeServer.cpp b/lib/cpp/src/thrift/transport/TPipeServer.cpp index 9c3b51bd1..10fc69b27 100644 --- a/lib/cpp/src/thrift/transport/TPipeServer.cpp +++ b/lib/cpp/src/thrift/transport/TPipeServer.cpp @@ -17,9 +17,7 @@ * under the License. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include <thrift/thrift-config.h> #include <cstring> #include <thrift/transport/TPipe.h> diff --git a/lib/cpp/src/thrift/transport/TSSLSocket.cpp b/lib/cpp/src/thrift/transport/TSSLSocket.cpp index 1af8aa70c..029c541bc 100644 --- a/lib/cpp/src/thrift/transport/TSSLSocket.cpp +++ b/lib/cpp/src/thrift/transport/TSSLSocket.cpp @@ -17,9 +17,8 @@ * under the License. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include <thrift/thrift-config.h> + #include <errno.h> #include <string> #ifdef HAVE_ARPA_INET_H diff --git a/lib/cpp/src/thrift/transport/TServerSocket.cpp b/lib/cpp/src/thrift/transport/TServerSocket.cpp index 4cb0fd125..dc3cb586e 100644 --- a/lib/cpp/src/thrift/transport/TServerSocket.cpp +++ b/lib/cpp/src/thrift/transport/TServerSocket.cpp @@ -17,9 +17,8 @@ * under the License. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include <thrift/thrift-config.h> + #include <cstring> #include <sys/types.h> #ifdef HAVE_SYS_SOCKET_H diff --git a/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp b/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp index 5bf571ddb..9af1445ef 100644 --- a/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp +++ b/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp @@ -17,9 +17,8 @@ * under the License. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include <thrift/thrift-config.h> + #include <thrift/transport/TSimpleFileTransport.h> #include <sys/types.h> diff --git a/lib/cpp/src/thrift/transport/TSocket.cpp b/lib/cpp/src/thrift/transport/TSocket.cpp index 1cffa70dc..a9a752cfb 100644 --- a/lib/cpp/src/thrift/transport/TSocket.cpp +++ b/lib/cpp/src/thrift/transport/TSocket.cpp @@ -17,9 +17,8 @@ * under the License. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include <thrift/thrift-config.h> + #include <cstring> #include <sstream> #ifdef HAVE_SYS_SOCKET_H diff --git a/lib/cpp/src/thrift/transport/TSocketPool.cpp b/lib/cpp/src/thrift/transport/TSocketPool.cpp index fdc549380..c468fb31e 100644 --- a/lib/cpp/src/thrift/transport/TSocketPool.cpp +++ b/lib/cpp/src/thrift/transport/TSocketPool.cpp @@ -17,9 +17,7 @@ * under the License. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include <thrift/thrift-config.h> #include <algorithm> #include <iostream> diff --git a/lib/cpp/src/thrift/transport/TTransportException.cpp b/lib/cpp/src/thrift/transport/TTransportException.cpp index bd4f44b36..2c1f30324 100644 --- a/lib/cpp/src/thrift/transport/TTransportException.cpp +++ b/lib/cpp/src/thrift/transport/TTransportException.cpp @@ -21,9 +21,7 @@ #include <boost/lexical_cast.hpp> #include <cstring> -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include <thrift/thrift-config.h> using std::string; using boost::lexical_cast; @@ -31,4 +29,3 @@ using boost::lexical_cast; namespace apache { namespace thrift { namespace transport { }}} // apache::thrift::transport - |